-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
128 lines (113 loc) · 3.23 KB
/
setup.py
File metadata and controls
128 lines (113 loc) · 3.23 KB
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
import os
from setuptools import setup, find_packages
import versioneer
install_requires = [
'wheel',
'Django>=3.0',
'django-extensions',
'django-cryptography',
'python-slugify',
'furl',
'jsonpatch>=1.25,<2',
'djangorestframework',
'django-daterangefilter',
'django-filter',
'django-select2',
'jsonfield',
'tabulate', # commands
'django-taggit',
'django-mptt',
'django-formtools',
'django-admin-tools@git+https://github.com/yakky/django-admin-tools.git@feature/django-30#egg=django-admin-tools',
'django-redis',
#'gevent',
'django-dynamic-fixture>=3.1.0', # for mce_django_app.pytest.plugin
'pytest>=5.4.1', # for mce_django_app.pytest.plugin
]
mce_lib_requires = [
'mce-lib-azure@git+https://github.com/multi-cloud-explorer/mce-lib-azure.git@master#egg=mce_lib_azure',
'mce-lib-vsphere@git+https://github.com/multi-cloud-explorer/mce-lib-vsphere.git@master#egg=mce_lib_vsphere',
#'mce-lib-gcp@git+https://github.com/multi-cloud-explorer/mce-lib-gcp.git@master#egg=mce_lib_gcp',
'mce-lib-aws@git+https://github.com/multi-cloud-explorer/mce-lib-aws.git@master#egg=mce_lib_aws',
]
install_requires.extend(mce_lib_requires)
tests_requires = [
'psycopg2-binary',
'pytest>=5.4.1',
'pytest-cov',
'pytest-pep8',
'pytest-django',
'pytest-timeout',
'django-dynamic-fixture>=3.1.0',
'pytest-instafail',
'curlify',
'factory-boy',
'bandit',
'flake8',
'coverage',
'responses',
'freezegun',
'docker',
'jsonpatch',
'django-environ',
'django-filter',
'django-select2',
'django-allauth',
'django-cors-headers',
'djoser',
'drf-yasg',
]
dev_requires = [
'pylint',
'ipython',
'autopep8',
'black',
'wheel',
'pipdeptree',
'django-debug-toolbar',
'pygraphviz',
'pydotplus',
'safety',
]
ci_requires = [
'coveralls',
'codecov',
]
extras_requires = {
'tests': tests_requires,
'dev': dev_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-django-app',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='Django App for Multi Cloud Explorer',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/multi-cloud-explorer/mce-django-app.git',
license='GPLv3+',
packages=find_packages(exclude=("tests",)),
include_package_data=True,
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 = {
# "pytest11": ["mce_django_app = mce_django_app.pytest.plugin"]
#},
)