-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
52 lines (43 loc) · 1.46 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
#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
import re
from setuptools import setup, find_packages
def __get_version():
with open("image_processor_client/__init__.py") as package_init_file:
return re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', package_init_file.read(), re.MULTILINE).group(1)
requirements = [
"aiohttp"
]
on_rtd = os.getenv('READTHEDOCS') == 'True'
if on_rtd:
requirements.append('sphinxcontrib-napoleon')
extra_requirements = {
'docs': [
'sphinx==1.8.3'
]
}
setup(
name="image_processor_client",
version=__get_version(),
url="https://github.com/thec0sm0s/image-processor-client",
author="□ | The Cosmos",
description="Asynchronous python client for image-processor server.",
# long_description=open("README.md").read(),
long_description="(https://github.com/thec0sm0s/image-processor).",
packages=find_packages(),
install_requires=requirements,
extras_require=extra_requirements,
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries',
'Topic :: Internet',
'Topic :: Utilities',
]
)