-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathsetup.py
executable file
·49 lines (40 loc) · 1.3 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
#!/usr/bin/env python3
"""Project setup file for the fabric8 analytics worker project."""
import os
from setuptools import setup, find_packages
def get_requirements():
"""
Parse dependencies from 'requirements.in' file.
Collecting dependencies from 'requirements.in' as a list,
this list will be used by 'install_requires' to specify minimal dependencies
needed to run the application.
"""
with open('requirements.in') as fd:
return fd.read().splitlines()
install_requires = get_requirements()
setup(
name='f8a_worker',
version='0.2',
scripts=[
'hack/queue_conf.py',
'hack/workers.sh',
'hack/worker-queues-env.sh',
'hack/worker-pre-hook.sh',
'hack/worker-liveness.sh',
'hack/worker-readiness.sh'
],
package_data={
'f8a_worker': [
os.path.join('dispatcher', 'migration_dir', '*.json')
]
},
packages=find_packages(exclude=['tests', 'tests.*']),
include_package_data=True,
install_requires=install_requires,
author='Pavel Odvody',
author_email='podvody@redhat.com',
description='fabric8-analytics workers & utilities',
license='GPLv3',
keywords='fabric8-analytics analysis worker',
url='https://github.com/fabric8-analytics/fabric8-analytics-worker'
)