-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
49 lines (43 loc) · 1.4 KB
/
setup.py
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/env python
# -*- coding: utf-8 -*-
from setuptools import setup
short_description = 'Decorator for automatically casting string inputs to ' \
'their most likely Python data types.'
try:
description = open('README.rst').read()
except IOError:
description = short_description
try:
license = open('LICENSE').read()
except IOError:
license = 'MIT License'
classifiers = """
Development Status :: 3 - Alpha
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
""".strip().splitlines()
tests_require = ['nose']
setup(
name='autocast',
packages=['autocast'], # this must be the same as the name above
version='0.0.1dev0',
description=short_description,
author='Guy Kisel',
author_email='[email protected]',
url='https://github.com/guykisel/python-autocast-decorator',
download_url='https://pypi.python.org/pypi/python-autocast-decorator',
keywords=('decorator autocast'), # arbitrary keywords
install_requires=['wrapt'],
tests_require=tests_require,
extras_require={'test': tests_require},
long_description=description,
license='MIT',
classifiers=classifiers,
platforms='any'
)