2
$Id: setup.py,v 1.7 2005/01/07 04:51:33 zenzen Exp $
3
Distribution setup script
6
from distutils.core import setup
8
import pytz, sys, os, os.path
11
memail = 'stuart@stuartbishop.net'
13
World modern and historical timezone definitions, implemented as
14
Python tzinfo subclasses suitable for use my Python's datetime module.
15
Timezone information was provided by the Olson Timezone database.
16
Using these timezone definitions resolves all ambiguous daylight savings
17
time transitions. All DST trantions have been tested against the reference
18
implementation of zdump found in the Olson database to confirm even
19
the obscure historical cases work. This test suite is available seperatly
20
as it is rather large (75558 comparisisons), as is the program used
21
to generate this package.
23
The Olson Timezone database is updated roughly four times per year,
24
usually with obscure and generally unnoticable changes. These files
25
will be regenerated and rereleased soon after updated editions of the
26
Olson database are made available.
30
for dirpath, dirname, filenames in os.walk(os.path.join('pytz','zoneinfo')):
31
packages.append('.'.join(dirpath.split(os.sep)))
35
version = pytz.VERSION,
36
description = 'World timezone definitions, modern and historical',
37
long_description = ldesc,
39
author_email = memail,
41
maintainer_email = memail,
42
url = 'http://pytz.sourceforge.net',
43
license = open('LICENSE.txt','r').read(),
44
keywords = ['timezone','tzinfo', 'datetime', 'olson', 'time'],
46
download_url='http://sourceforge.net/project/showfiles.php?group_id=79122',
47
platforms=['Independant'],
49
'Development Status :: 6 - Mature',
50
'Intended Audience :: Developers',
51
'License :: OSI Approved :: MIT License',
52
'Natural Language :: English',
53
'Operating System :: OS Independent',
54
'Programming Language :: Python',
55
'Topic :: Software Development :: Libraries :: Python Modules',