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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1 from setuptools import setup
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
2
139
347b29cb9332 Version bump.
Daniele Nicolodi <daniele@grinta.net>
parents: 137
diff changeset
3 VERSION = '0.4dev'
100
3024c77310d1 Minor cleanup of setup.py.
Daniele Nicolodi <daniele@grinta.net>
parents: 50
diff changeset
4
0
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
5 setup(
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
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
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
11 )