Skip to content

Commit ec3e8fd

Browse files
committed
preparing to add tests, will add with circleci pr
Signed-off-by: Vanessa Sochat <[email protected]>
1 parent 5ae37cc commit ec3e8fd

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

scompose/version.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,8 @@
3434
('spython', {'min_version': '0.0.67'}),
3535
)
3636

37+
TESTS_REQUIRES = (
38+
('pytest', {'min_version': '4.6.2'}),
39+
)
40+
3741
INSTALL_REQUIRES_ALL = INSTALL_REQUIRES

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def get_reqs(lookup=None, key='INSTALL_REQUIRES'):
6868

6969
INSTALL_REQUIRES = get_reqs(lookup)
7070
INSTALL_REQUIRES_ALL = get_reqs(lookup,'INSTALL_REQUIRES_ALL')
71+
TESTS_REQUIRES = get_reqs(lookup, 'TESTS_REQUIRES')
7172

7273
setup(name=NAME,
7374
version=VERSION,
@@ -84,6 +85,8 @@ def get_reqs(lookup=None, key='INSTALL_REQUIRES'):
8485
long_description=LONG_DESCRIPTION,
8586
keywords=KEYWORDS,
8687
install_requires = INSTALL_REQUIRES,
88+
setup_requires=["pytest-runner"],
89+
tests_require=TESTS_REQUIRES,
8790
extras_require={
8891
'all': [INSTALL_REQUIRES_ALL]
8992

0 commit comments

Comments
 (0)