-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
63 lines (57 loc) · 1.81 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
60
61
62
63
from setuptools import setup, find_packages
module_name = 'docido-python-sdk'
root_url = 'https://github.com/cogniteev/' + module_name
__version__ = None
with open('docido_sdk/__init__.py') as istr:
for l in filter(lambda l: l.startswith('__version__ ='), istr):
exec(l)
install_requires = [
'elasticsearch==2.3.0',
'ProxyTypes==0.9',
'pymongo>=2.9.4',
'python-dateutil>=2.5.3',
'pytz>=2016.4',
'requests>=2.8.1',
'setuptools>=0.6',
'six>=1.10.0',
'yamlious>=0.2.1',
],
extras_require = {
':python_version in "2.7, 3.1, 3.2"': ['contextlib2'],
}
extras_require = {
':python_version in "2.4, 2.5, 2.6"':
['contextlib2', 'backport_collections'],
':python_version in "2.7, 3.1, 3.2"': ['contextlib2'],
}
setup(
name='docido-sdk',
version=__version__,
description='Docido software development kit for Python',
author='Cogniteev',
author_email='tech@cogniteev.com',
url=root_url,
download_url=root_url + '/tarball/' + __version__,
license='Apache license version 2.0',
keywords='cogniteev docido',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Topic :: Software Development :: Libraries',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Operating System :: OS Independent',
'Natural Language :: English',
],
packages=find_packages(exclude=['*.tests']),
test_suite='docido.sdk.test.suite',
zip_safe=True,
install_requires=install_requires,
extras_require=extras_require,
entry_points="""
[console_scripts]
dcc-run = docido_sdk.scripts.dcc_run:run
"""
)