forked from IBM/kubernetes-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (28 loc) · 1001 Bytes
/
Copy pathsetup.py
File metadata and controls
31 lines (28 loc) · 1001 Bytes
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
import json
from setuptools import setup, find_namespace_packages
with open('kubedriver/pkg_info.json') as fp:
_pkg_info = json.load(fp)
with open("DESCRIPTION.md", "r") as description_file:
long_description = description_file.read()
setup(
name='kubedriver',
version=_pkg_info['version'],
description='None',
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_namespace_packages(include=['kubedriver*']),
include_package_data=True,
install_requires=[
'ignition-framework=={0}'.format(_pkg_info['ignition-version']),
'kubernetes==11.0.0',
'openshift==0.11.1',
'python-dateutil==2.8.1',
'RestrictedPython==5.0.0',
'gunicorn>=19.9.0,<20.0'
],
entry_points='''
[console_scripts]
kubedriver-dev=kubedriver.__main__:main
''',
scripts=['kubedriver/bin/kubedriver-uwsgi', 'kubedriver/bin/kubedriver-gunicorn', 'kubedriver/bin/kubedriver']
)