-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
54 lines (44 loc) · 1.34 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
#!/usr/bin/python3
import os
from setuptools import setup, find_packages
about = {}
here = os.path.abspath(os.path.dirname(__file__))
requires = [
'cryptography>=3,<4',
'ijson>=3.1.4,<4',
'requests>=2.25.1,<3'
]
extra_requires = {
'jq': ['jq>=1.1.3,<2']
}
with open(os.path.join(here, 'vmtconnect', '__about__.py'), 'r') as fp:
exec(fp.read(), about)
with open(os.path.join(here, 'README.md'), 'r') as fp:
readme = fp.read()
setup(
name=about['__title__'],
version=about['__version__'],
description=about['__description__'],
long_description=readme,
long_description_content_type='text/markdown',
author=about['__author__'],
author_email=about['__author_email__'],
url='https://github.com/turbonomic/vmt-connect',
packages=find_packages(),
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Software Development',
],
package_data={'': ['LICENSE', 'NOTICE']},
include_package_data=True,
python_requires=">=3.6",
install_requires=requires,
extra_require=extra_requires,
license=about['__license__'],
entry_points={
'console_scripts': ['turboauth=vmtconnect.command_line:cmd']
}
)