-
Notifications
You must be signed in to change notification settings - Fork 30
/
setup.py
executable file
·52 lines (44 loc) · 1.42 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
#!/usr/bin/python3
"""Project setup file for the f8a jobs."""
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='fabric8_analytics_jobs',
version='0.1',
packages=find_packages(),
package_data={
'f8a_jobs': [
'swagger.yaml',
'api_spec.yaml',
os.path.join('default_jobs', '*.yaml'),
os.path.join('default_jobs', '*.yml')
]
},
scripts=['f8a-jobs.py'],
install_requires=install_requires,
include_package_data=True,
author='Fridolin Pokorny',
author_email='[email protected]',
maintainer='Fridolin Pokorny',
maintainer_email='[email protected]',
description='fabric8-analytics Core job service',
license='ASL 2.0',
keywords='fabric8 analytics jobs',
url='https://github.com/fabric8-analytics/jobs',
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Intended Audience :: Developers",
]
)