-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
59 lines (51 loc) · 1.75 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
52
53
54
55
56
57
58
59
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import io
import re
from setuptools import setup
with io.open('tabun_api/__init__.py', 'r', encoding='utf-8-sig') as fp:
for line in fp:
m = re.search(r"^__version__ = '([^']+)'$", line)
if m:
version = m.group(1)
break
imageutils_require = ['Pillow>=3.0']
proxy_require = ['PySocks>=1.5']
cf_require = ['Js2Py>=0.39']
setup(
name='tabun_api',
version=version,
description='Tabun Client Library',
author='andreymal',
author_email='[email protected]',
license='MIT',
url='https://github.com/andreymal/tabun_api',
platforms=['any'],
packages=['tabun_api'],
zip_safe=False,
install_requires=['lxml>=3.3', 'iso8601>=0.1.10'],
extras_require={
'imageutils': imageutils_require,
'proxy': proxy_require,
'cf': cf_require,
'full': imageutils_require + proxy_require + cf_require,
},
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)