forked from recurly/recurly-client-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·44 lines (40 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
from setuptools import setup
import os.path
import re
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as README:
DESCRIPTION = README.read()
VERSION_RE = re.compile("^__version__ = '(.+)'$",
flags=re.MULTILINE)
with open(os.path.join(os.path.dirname(__file__),
'recurly', '__init__.py')) as PACKAGE:
VERSION = VERSION_RE.search(PACKAGE.read()).group(1)
more_install_requires = list()
try:
import ssl
except ImportError:
more_install_requires.append('ssl')
setup(
name='recurly',
version=VERSION,
description="The official Recurly API client",
long_description=DESCRIPTION,
author='Recurly',
author_email='[email protected]',
url='http://docs.recurly.com/client-libraries/python',
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP',
],
packages=['recurly'],
install_requires=['iso8601', 'backports.ssl_match_hostname', 'six'] + more_install_requires,
tests_require=['mock',
'six'],
test_suite='unittest2.collector',
zip_safe=True,
)