-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
40 lines (36 loc) · 1.37 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
from setuptools import setup
try:
with open('requirements.txt') as f:
requirements = f.readlines()
except OSError:
requirements = []
package_dir_option = {
'postprocessing_sdk': 'postprocessing_sdk',
'postprocessing_sdk.commands': 'postprocessing_sdk/commands',
'postprocessing_sdk.pp_cmd': 'postprocessing_sdk/pp_cmd',
'postprocessing_sdk.pp_cmd.read': 'postprocessing_sdk/pp_cmd/read',
'postprocessing_sdk.pp_cmd.write': 'postprocessing_sdk/pp_cmd/write',
'df_storage': "postprocessing_sdk/pp_cmd/read_file_venv/lib/python3.9/site-packages/df_storage/"
}
setup(
name='postprocessing_sdk',
version='1.4.0',
description='SDK for creating postprocessing commands',
author='Artem Zenkov',
author_email='[email protected]',
package_dir=package_dir_option,
packages=[str(key) for key in package_dir_option.keys()],
package_data={'postprocessing_sdk': [
'templates/*', 'templates/*/*', 'templates/*/*/*', 'templates/*/*/*/*', 'templates/pp_cmd_{{command_name}}/.gitignore',
"pp_cmd/*/*",
]},
entry_points={
'console_scripts': [
'pp_sdk=postprocessing_sdk.__main__:main',
'pp=postprocessing_sdk.commands.pp:main',
'pp_create_cmd=postprocessing_sdk.commands.createcommandrepo:main',
],
},
zip_safe=False,
install_requires=requirements,
)