setup.py 1.31 KB
Newer Older
1 2 3
#!/usr/bin/env python

import sys
4
from setuptools import setup
5 6

requires = ['six']
7
tests_require = ['mock', 'nose']
8

9
if sys.version_info.major == 2:
10
    requires += ['python-dateutil>=1.0, != 2.0']
11 12 13 14
else:
    # Py3k
    requires += ['python-dateutil>=2.0']

15

16 17 18
with open('README.rst') as f:
    readme = f.read()

19 20
setup(
    name='freezegun',
21
    version='0.3.11',
22
    description='Let your Python tests travel through time',
23
    long_description=readme,
24
    author='Steve Pulec',
25
    author_email='spulec@gmail.com',
26
    url='https://github.com/spulec/freezegun',
27
    packages=['freezegun'],
28
    install_requires=requires,
29
    tests_require=tests_require,
30
    include_package_data=True,
31
    license='Apache 2.0',
32
    python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
33
    classifiers=[
34
        'License :: OSI Approved :: Apache Software License',
35 36 37
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
38
        'Programming Language :: Python :: 3.4',
39
        'Programming Language :: Python :: 3.5',
40
        'Programming Language :: Python :: 3.6',
41 42 43
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: Implementation :: CPython',
        'Programming Language :: Python :: Implementation :: PyPy',
44
    ],
45
)