File: setup.py

package info (click to toggle)
python-dateutil 2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 964 kB
  • ctags: 1,380
  • sloc: python: 6,537; makefile: 23; sh: 4
file content (49 lines) | stat: -rwxr-xr-x 1,585 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/usr/bin/python
from os.path import isfile, join
import codecs
import glob
import os
import re

from setuptools import setup


if isfile("MANIFEST"):
    os.unlink("MANIFEST")


TOPDIR = os.path.dirname(__file__) or "."
VERSION = re.search('__version__ = "([^"]+)"',
                    codecs.open(TOPDIR + "/dateutil/__init__.py", encoding='utf-8').read()).group(1)


setup(name="python-dateutil",
      version = VERSION,
      description = "Extensions to the standard Python datetime module",
      author = "Tomi Pievilaeinen",
      author_email = "tomi.pievilainen@iki.fi",
      url = "http://labix.org/python-dateutil",
      license = "Simplified BSD",
      long_description =
"""\
The dateutil module provides powerful extensions to the 
datetime module available in the Python standard library.
""",
      packages = ["dateutil", "dateutil.zoneinfo"],
      zip_safe = False,
      requires = ["six"],
      install_requires = ["six"], # XXX fix when packaging is sane again
      classifiers = [
          'Development Status :: 5 - Production/Stable',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: BSD License',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.2',
          'Programming Language :: Python :: 3.3',
          'Topic :: Software Development :: Libraries',
      ]
      )