-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
53 lines (48 loc) · 1.74 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
#!/usr/bin/env python
import os
from distutils.core import setup
from setuptools import find_packages # type: ignore
def _get_version():
version_file = os.path.normpath(os.path.join(os.path.dirname(__file__), 'primehub', 'VERSION'))
with open(version_file) as fh:
version = fh.read().strip()
return version
setup(name='primehub-python-sdk',
version=_get_version(),
description='PrimeHub Python SDK',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
author='qrtt1',
author_email='[email protected]',
url='https://github.com/InfuseAI/primehub-python-sdk',
entry_points={
'console_scripts': ['primehub = primehub.cli:main', 'doc-primehub = primehub.extras.doc_generator:main',
'auto-primehub = primehub.utils.completion:auto_complete']
},
python_requires=">=3.6",
packages=find_packages(),
install_requires=['requests', 'tabulate==0.8.9', 'types-tabulate==0.8.2', 'types-requests'],
extras_require={
'dev': [
'pytest>=4.6',
'pytest-flake8',
'flake8==3.9.2',
'pytest-mypy',
'pytest-cov',
'Jinja2', 'types-Jinja2',
'twine',
'importlib-metadata<5'
],
},
project_urls={
"Bug Tracker": "https://github.com/InfuseAI/primehub/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta"
],
package_data={
'primehub': ['*.json', 'VERSION']
})