-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·29 lines (26 loc) · 1.06 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·29 lines (26 loc) · 1.06 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
#!/usr/bin/env python
import os
from setuptools import setup
d = os.path.join(os.path.abspath(os.sep), 'usr', 'share', 'cudet')
d_files = [(os.path.join(d, root), [os.path.join(root, f) for f in files])
for root, dirs, files in os.walk('rq')]
d_files.append((os.path.join(d), ['cudet-config.yaml', 'rq.yaml']))
d_files += [(os.path.join(d, root), [os.path.join(root, f) for f in files])
for root, dirs, files in os.walk('db')]
setup(name='python-cudet',
version='0.1.9',
author='Mirantis',
author_email='mos-maintenance@mirantis.com',
license='Apache2',
url='https://github.com/avgoor/python-cudet',
long_description=open('README.md').read(),
packages=["cudet"],
install_requires=['pyyaml', 'six'],
data_files=d_files,
include_package_data=True,
entry_points={'console_scripts':
['cudet=cudet.main:main'],
'fuelclient':
['update=cudet.updates:Updates',
'report=cudet.report:SummaryReport'
]})