setup.py 922 B

1234567891011121314151617181920212223242526272829303132333435
  1. #!/usr/bin/python
  2. from os.path import isfile, join
  3. import glob
  4. import os
  5. import re
  6. from setuptools import setup
  7. if isfile("MANIFEST"):
  8. os.unlink("MANIFEST")
  9. TOPDIR = os.path.dirname(__file__) or "."
  10. VERSION = re.search('__version__ = "([^"]+)"',
  11. open(TOPDIR + "/dateutil/__init__.py").read()).group(1)
  12. setup(name="python-dateutil",
  13. version = VERSION,
  14. description = "Extensions to the standard python 2.3+ datetime module",
  15. author = "Gustavo Niemeyer",
  16. author_email = "gustavo@niemeyer.net",
  17. url = "http://labix.org/python-dateutil",
  18. license = "PSF License",
  19. long_description =
  20. """\
  21. The dateutil module provides powerful extensions to the standard
  22. datetime module, available in Python 2.3+.
  23. """,
  24. packages = ["dateutil", "dateutil.zoneinfo"],
  25. package_data={"": ["*.tar.gz"]},
  26. include_package_data=True,
  27. zip_safe=False,
  28. )