forked from goincrypto/cryptocom-exchange
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
63 lines (59 loc) · 1.88 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 pathlib import Path
from setuptools import setup, find_packages
def get_version():
module_file = Path(
Path(__file__).parent, 'src',
*find_packages('src')[-1].split('.'), '__init__.py'
)
return module_file.read_text().split("__version__ = '")[1].split("'")[0]
setup(
name='cryptocom-exchange',
version=get_version(),
description="""Provide description""",
url='https://github.com/goincrypto/cryptocom-exchange',
author='Yaroslav Rudenok [Morty Space]',
author_email='[email protected]',
license='MIT',
classifiers=[
# TODO: add classifiers
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Software Development :: Libraries :: Python Modules'
],
package_dir={'': 'src'},
packages=find_packages('src'),
install_requires=[
'aiohttp',
'cached-property'
],
extras_require={
'dev': [
'pylint',
'pycodestyle',
'pytest',
'pytest-asyncio',
'pytest-cov',
'pytest-env',
'pytest-doctestplus',
'pytest-pythonpath',
'autopep8',
'sphinx',
'sphinx_rtd_theme',
'setuptools',
'twine',
'doc8'
]
},
zip_safe=True,
long_description=(Path(__file__).parent / 'README.md').read_text(),
long_description_content_type='text/markdown'
)