use abstract dependency instead of concrete ones
This commit is contained in:
parent
078120ed59
commit
af47558410
2 changed files with 7 additions and 5 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
backports.ssl-match-hostname==3.4.0.2
|
|
||||||
future==0.15.0
|
future==0.15.0
|
||||||
requests==2.7.0
|
requests==2.7.0
|
||||||
six==1.9.0
|
six==1.9.0
|
||||||
|
|
|
||||||
11
setup.py
11
setup.py
|
|
@ -4,6 +4,12 @@ import re
|
||||||
|
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
|
requirements =[
|
||||||
|
"future >= 0.15.0, < 1",
|
||||||
|
"requests >= 2.5.2, < 3",
|
||||||
|
"six >= 1.3.0, < 2",
|
||||||
|
"websocket-client >= 0.32.0, < 1"
|
||||||
|
]
|
||||||
|
|
||||||
def read(*parts):
|
def read(*parts):
|
||||||
path = os.path.join(os.path.dirname(__file__), *parts)
|
path = os.path.join(os.path.dirname(__file__), *parts)
|
||||||
|
|
@ -20,14 +26,11 @@ def find_version(*file_paths):
|
||||||
raise RuntimeError('Unable to find version string.')
|
raise RuntimeError('Unable to find version string.')
|
||||||
|
|
||||||
|
|
||||||
with open('requirements.txt') as f:
|
|
||||||
install_requires = f.read().splitlines()
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="python-dockercloud",
|
name="python-dockercloud",
|
||||||
version=find_version('dockercloud', '__init__.py'),
|
version=find_version('dockercloud', '__init__.py'),
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
install_requires=install_requires,
|
install_requires=requirements,
|
||||||
provides=['docker'],
|
provides=['docker'],
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
author="Docker, Inc.",
|
author="Docker, Inc.",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue