Merge pull request #238 from pokoli/sync_requirements
Read setup.py dependencies from requeriments.txt
This commit is contained in:
commit
ff94d26a2b
17
setup.py
17
setup.py
@ -27,17 +27,11 @@ DEVELOPMENT_STATUS = "3 - Alpha"
|
||||
# prerequisite: setuptools
|
||||
# http://pypi.python.org/pypi/setuptools
|
||||
|
||||
REQUIRES = [
|
||||
"certifi",
|
||||
"ipaddress",
|
||||
"oauth2client",
|
||||
"setuptools",
|
||||
"six",
|
||||
"urllib3!=1.21",
|
||||
"python-dateutil",
|
||||
"pyyaml",
|
||||
"websocket-client",
|
||||
]
|
||||
with open('requirements.txt') as f:
|
||||
REQUIRES = f.readlines()
|
||||
|
||||
with open('test-requirements.txt') as f:
|
||||
TESTS_REQUIRES = f.readlines()
|
||||
|
||||
setup(
|
||||
name=PACKAGE_NAME,
|
||||
@ -49,6 +43,7 @@ setup(
|
||||
url="https://github.com/kubernetes-incubator/client-python",
|
||||
keywords=["Swagger", "OpenAPI", "Kubernetes"],
|
||||
install_requires=REQUIRES,
|
||||
tests_require=TESTS_REQUIRES,
|
||||
packages=['kubernetes', 'kubernetes.client', 'kubernetes.config',
|
||||
'kubernetes.watch', 'kubernetes.client.apis',
|
||||
'kubernetes.client.models'],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user