-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathsetup.py
51 lines (48 loc) · 1.37 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
50
51
import re
try:
import setuptools
except ImportError:
import distutils.core
setup = distutils.core.setup
else:
setup = setuptools.setup
setup(
name='wac',
version=(re
.compile(r".*__version__ = '(.*?)'", re.S)
.match(open('wac.py').read())
.group(1)),
url='https://github.com/balanced/wac/',
license=open('LICENSE').read(),
author='Balanced',
author_email='[email protected]',
description='Writing RESTful API clients.',
long_description=(
open('README.rst').read() + '\n\n' +
open('HISTORY.rst').read()
),
py_modules=['wac'],
package_data={'': ['LICENSE']},
include_package_data=True,
tests_require=[
'mock>=0.8',
'simplejson >= 2.1',
'unittest2 >= 0.5.1',
'iso8601',
],
install_requires=[
'certifi==0.0.8', # force requests optional
'chardet >= 1.0', # force requests optional
'requests>=1.2.3',
],
test_suite='tests',
classifiers=[
'Intended Audience :: Developers',
'Development Status :: 4 - Beta',
'Natural Language :: English',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: ISC License (ISCL)',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
],
)