forked from delphix/dxm-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (48 loc) · 1.6 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
from setuptools import setup, find_packages
import setuptools.command.build_py
class BuildPyCommand(setuptools.command.build_py.build_py):
"""Custom build command."""
def run(self):
# add here a build
setuptools.command.build_py.build_py.run(self)
setup(
cmdclass={
'build_py': BuildPyCommand
},
name='dxm',
#version=dxm.dxm.__version__,
packages=find_packages(),
install_requires=[
'pyparsing==3.0.7',
'click == 7.1.2',
'requests',
'pytz',
"urllib3 <= 2.0.0a",
"six >= 1.10",
"certifi",
"python-dateutil == 2.8.1",
"colorama == 0.4.3",
"tqdm == 4.47.0",
"packaging == 20.4",
"keyring == 21.2.1",
"cryptography == 41.0.2"
],
entry_points='''
[console_scripts]
dxmc=dxm.dxm:dxm
''',
author = "Marcin Przepiorowski",
license = "Apache 2",
description = ("DxToolkit for Masking - command line tool to manage Delphix Masking environment"),
classifiers = [
"Development Status :: 2 - Beta"
],
dependency_links=[
'git+https://github.com/pioro/masking_api_53.git#egg=masking_api_53-1.0.0',
'git+https://github.com/pioro/masking_api_60.git#egg=masking_api_60-6.0.4.2'
]
)
# add swagger libs
# docker run --rm -v ${PWD}:/local swaggerapi/swagger-codegen-cli generate -DapiDocs=false -DapiTests=false -DmodelTests=false -DmodelDocs=false -i http://myengine/masking/api/swagger-basepath.json -l python -o /local/masking_api_60 -DpackageName=masking_api_60
# cd masking_api_60
# python setup.py install