mirror of
https://github.com/gryf/pygtktalog.git
synced 2025-12-17 19:40:21 +01:00
* Added information about failure of Egenix mx.DateTime import.
This commit is contained in:
@@ -45,11 +45,15 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
from pysqlite2 import dbapi2 as sqlite
|
from pysqlite2 import dbapi2 as sqlite
|
||||||
import mx.DateTime
|
|
||||||
except:
|
except:
|
||||||
print "pyGTKtalog uses SQLite DB.\nYou'll need to get it and the python bindings as well.\nhttp://www.sqlite.org\nhttp://initd.org/tracker/pysqlite"
|
print "pyGTKtalog uses SQLite DB.\nYou'll need to get it and the python bindings as well.\nhttp://www.sqlite.org\nhttp://initd.org/tracker/pysqlite"
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
try:
|
||||||
|
import mx.DateTime
|
||||||
|
except:
|
||||||
|
print "pyGTKtalog uses Egenix mx.DateTime.\nYou can instal it from your distribution repositry,\nor get it at: http://www.egenix.com"
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
if conf.confd['exportxls']:
|
if conf.confd['exportxls']:
|
||||||
try:
|
try:
|
||||||
import pyExcelerator
|
import pyExcelerator
|
||||||
|
|||||||
Reference in New Issue
Block a user