~ubuntu-branches/ubuntu/quantal/python-tz/quantal

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Bazaar Package Importer
  • Author(s): Brian Sutherland
  • Date: 2007-05-09 12:01:36 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070509120136-oi18syaota63tyzy
Tags: 2007d-1
* New upstream release (Closes: 415458)
* Revert patch ignoring arch files, it's not necessary any and conflicted
  with upstream.
* Patch upstream to use /usr/share/zoneinfo and remove the included version,
  also depend on tzdata package. (Closes: 416202)
* Write and install a testrunner that can run the pytz tests in
  /usr/lib/python-tz/test-pytxX.Y which tests pythonX.Y.
* Build depends on python-central > 0.5, debhelper > 5.0.38
* Remove workaround for python-central/debhelper breakage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
pytz setup script
3
3
'''
4
4
 
 
5
import pytz, sys, os, os.path
 
6
 
5
7
try:
6
8
    from setuptools import setup
7
9
except ImportError:
8
 
    from distutils.core import setup
9
 
 
10
 
import pytz, sys, os, os.path
 
10
    if sys.version_info[:2] == (2,3):
 
11
        print 'Python 2.3 install requires setuptools'
 
12
        print 'http://www.python.org/pypi/setuptools/'
 
13
        sys.exit(1)
 
14
    else:
 
15
        from distutils.core import setup
11
16
 
12
17
me = 'Stuart Bishop'
13
18
memail = 'stuart@stuartbishop.net'
19
24
time transitions. All DST trantions have been tested against the reference
20
25
implementation of zdump found in the Olson database to confirm even
21
26
the obscure historical cases work. This test suite is available seperatly
22
 
as it is rather large (75558 comparisisons), as is the program used
 
27
as it is rather large (75558 comparisons), as is the program used
23
28
to generate this package.
24
29
 
25
30
The Olson Timezone database is updated several times per year,