Skip to content
This repository was archived by the owner on Jan 20, 2020. It is now read-only.

Commit 91dfe34

Browse files
committed
remove makefile and add test-requirements
1 parent be9d715 commit 91dfe34

4 files changed

Lines changed: 9 additions & 13 deletions

File tree

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
include LICENSE
22
include requirements.txt
3+
include test-requirements.txt
34
include README.md

Makefile

Lines changed: 0 additions & 13 deletions
This file was deleted.

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"websocket-client >= 0.32.0, < 1"
1212
]
1313

14+
1415
def read(*parts):
1516
path = os.path.join(os.path.dirname(__file__), *parts)
1617
with codecs.open(path, encoding='utf-8') as fobj:
@@ -25,12 +26,16 @@ def find_version(*file_paths):
2526
return version_match.group(1)
2627
raise RuntimeError('Unable to find version string.')
2728

29+
with open('./test-requirements.txt') as test_reqs_txt:
30+
test_requirements = [line for line in test_reqs_txt]
31+
2832

2933
setup(
3034
name="python-dockercloud",
3135
version=find_version('dockercloud', '__init__.py'),
3236
packages=find_packages(),
3337
install_requires=requirements,
38+
tests_require=test_requirements,
3439
provides=['docker'],
3540
include_package_data=True,
3641
author="Docker, Inc.",

test-requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
mock==1.0.1
2+
coverage==4.0.3
3+
nose==1.3.7

0 commit comments

Comments
 (0)