blob: 6d6446fbda21ac3f4b13b07bcc12e0e1bc814dea [file] [log] [blame]
niemeyer68ae2752003-09-28 01:20:02 +00001#!/usr/bin/python
niemeyer39f25fe2005-12-22 19:57:00 +00002from os.path import isfile, join
niemeyerdebf3cd2005-02-23 18:33:30 +00003import glob
4import os
niemeyer313ef142007-11-12 14:06:05 +00005import re
6
niemeyer55254c52008-08-07 02:46:52 +00007from setuptools import setup
8
niemeyerdebf3cd2005-02-23 18:33:30 +00009
niemeyerdb8b18d2005-12-22 15:02:22 +000010if isfile("MANIFEST"):
niemeyerdebf3cd2005-02-23 18:33:30 +000011 os.unlink("MANIFEST")
12
niemeyer313ef142007-11-12 14:06:05 +000013
niemeyer313ef142007-11-12 14:06:05 +000014VERSION = re.search('__version__ = "([^"]+)"',
15 open("dateutil/__init__.py").read()).group(1)
16
17
niemeyercc77d432003-10-09 02:57:39 +000018setup(name="python-dateutil",
niemeyer313ef142007-11-12 14:06:05 +000019 version = VERSION,
niemeyer68ae2752003-09-28 01:20:02 +000020 description = "Extensions to the standard python 2.3+ datetime module",
21 author = "Gustavo Niemeyer",
niemeyerdb8b18d2005-12-22 15:02:22 +000022 author_email = "gustavo@niemeyer.net",
23 url = "http://labix.org/python-dateutil",
niemeyer68ae2752003-09-28 01:20:02 +000024 license = "PSF License",
25 long_description =
26"""\
27The dateutil module provides powerful extensions to the standard
28datetime module, available in Python 2.3+.
29""",
niemeyerb5cbf032005-02-24 17:45:10 +000030 packages = ["dateutil", "dateutil.zoneinfo"],
niemeyer55254c52008-08-07 02:46:52 +000031 package_data={"": ["*.tar.gz"]},
32 include_package_data=True,
niemeyere52d7802008-08-07 02:48:49 +000033 zip_safe=False,
niemeyer68ae2752003-09-28 01:20:02 +000034 )