remove makefile and add test-requirements
This commit is contained in:
parent
be9d715150
commit
91dfe343ed
4 changed files with 9 additions and 13 deletions
5
setup.py
5
setup.py
|
|
@ -11,6 +11,7 @@ requirements =[
|
|||
"websocket-client >= 0.32.0, < 1"
|
||||
]
|
||||
|
||||
|
||||
def read(*parts):
|
||||
path = os.path.join(os.path.dirname(__file__), *parts)
|
||||
with codecs.open(path, encoding='utf-8') as fobj:
|
||||
|
|
@ -25,12 +26,16 @@ def find_version(*file_paths):
|
|||
return version_match.group(1)
|
||||
raise RuntimeError('Unable to find version string.')
|
||||
|
||||
with open('./test-requirements.txt') as test_reqs_txt:
|
||||
test_requirements = [line for line in test_reqs_txt]
|
||||
|
||||
|
||||
setup(
|
||||
name="python-dockercloud",
|
||||
version=find_version('dockercloud', '__init__.py'),
|
||||
packages=find_packages(),
|
||||
install_requires=requirements,
|
||||
tests_require=test_requirements,
|
||||
provides=['docker'],
|
||||
include_package_data=True,
|
||||
author="Docker, Inc.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue