-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
93 lines (81 loc) · 2.08 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
import os
from setuptools import setup, find_packages
import versioneer
install_requires = [
'requests[security]>=2.23.0,<3',
'pyvmomi>=6.5,<=7',
'python-decouple',
'furl',
'click',
'typical>=2.0,<3.0',
'pytest>=5.4.1', # for mce_django_app.pytest.plugin
]
tests_requires = [
'pytest>=5.4.1',
'bandit',
'flake8',
'coverage',
'pytest-cov',
'pytest-pep8',
'pytest-flake8',
'black',
'freezegun',
]
dev_requires = [
'pylint',
'ipython',
'autopep8',
'twine',
'wheel'
]
doc_requires = [
'Sphinx>=3.0',
'sphinx_rtd_theme',
'sphinx-click',
'sphinx-autodoc-typehints'
]
ci_requires = [
'coveralls',
'codecov',
]
extras_requires = {
'tests': tests_requires,
'dev': dev_requires,
'doc': doc_requires,
'ci': ci_requires
}
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='mce-lib-vsphere',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='Inventory library for VMware (Vsphere Release)',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/multi-cloud-explorer/mce-lib-vsphere.git',
packages=find_packages(exclude=("tests",)),
include_package_data=True,
setup_requires=["pytest-runner"],
tests_require=tests_requires,
install_requires=install_requires,
extras_require=extras_requires,
test_suite='tests',
zip_safe=False,
author='Stephane RAULT',
author_email="stephane.rault@radicalspam.org",
python_requires='>=3.7',
classifiers=[
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
],
entry_points={
#'console_scripts': [
# 'mce-vsphere = mce_lib_vsphere.cli:main',
#],
}
)