Author: dmeyer
Date: Thu Apr 5 17:43:21 2007
New Revision: 2608
Modified:
trunk/beacon/setup.py
Log:
add sqlite check
Modified: trunk/beacon/setup.py
==============================================================================
--- trunk/beacon/setup.py (original)
+++ trunk/beacon/setup.py Thu Apr 5 17:43:21 2007
@@ -60,6 +60,16 @@
else:
print 'epeg extention disabled'
+try:
+ from pysqlite2 import dbapi2 as sqlite
+ if sqlite.version_info < ( 2, 3 ):
+ version = '.'.join([ str(x) for x in sqlite.version_info ])
+ print 'pysqlite2 >= 2.3.0 required, found %s' % version
+ sys.exit(1)
+except ImportError:
+ print 'pysqlite2 is not installed'
+ sys.exit(1)
+
ext_modules = [ thumb_ext ]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog