Mercurial > hg > ltpdarepo
annotate src/setup.py @ 156:f6f93996acf4
Show timezone information for dates extracted from MySQL database.
The convenction is that all datetimes fields in the database are
stored as UTC times. Therefore we customize the mysql python connector
to convert DATETIME fields to an instance of a datetime subclass with
UTC tzinfo, and string representation showing the timezone name,
instead of the timezone naive defaul.
author | Daniele Nicolodi <daniele@grinta.net> |
---|---|
date | Fri, 04 Nov 2011 11:07:12 +0100 |
parents | 85b2bc3c7e04 |
children | e2a9b0c3d83e |
rev | line source |
---|---|
0 | 1 from setuptools import setup |
2 | |
139 | 3 VERSION = '0.4dev' |
100
3024c77310d1
Minor cleanup of setup.py.
Daniele Nicolodi <daniele@grinta.net>
parents:
50
diff
changeset
|
4 |
0 | 5 setup( |
6 name='ltpdarepo', | |
100
3024c77310d1
Minor cleanup of setup.py.
Daniele Nicolodi <daniele@grinta.net>
parents:
50
diff
changeset
|
7 version=VERSION, |
3024c77310d1
Minor cleanup of setup.py.
Daniele Nicolodi <daniele@grinta.net>
parents:
50
diff
changeset
|
8 entry_points={'console_scripts': ['run = ltpdarepo:main', |
147
85b2bc3c7e04
Add database schema dump utility.
Daniele Nicolodi <daniele@grinta.net>
parents:
139
diff
changeset
|
9 'admin = ltpdarepo.admin:main', |
85b2bc3c7e04
Add database schema dump utility.
Daniele Nicolodi <daniele@grinta.net>
parents:
139
diff
changeset
|
10 'dump = ltpdarepo.tests.dump:main']} |
0 | 11 ) |