Skip to content

Commit ecbf91f

Browse files
hortashoyer
authored andcommitted
python setup.py test now works by default (#2573)
1 parent 9d572a5 commit ecbf91f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
]
2626

2727
INSTALL_REQUIRES = ['numpy >= 1.12', 'pandas >= 0.19.2']
28+
SETUP_REQUIRES = ['pytest-runner >= 4.2']
2829
TESTS_REQUIRE = ['pytest >= 2.7.1']
2930
if sys.version_info[0] < 3:
3031
TESTS_REQUIRE.append('mock')
@@ -66,6 +67,7 @@
6667
description=DESCRIPTION,
6768
long_description=LONG_DESCRIPTION,
6869
install_requires=INSTALL_REQUIRES,
70+
setup_requires=SETUP_REQUIRES,
6971
tests_require=TESTS_REQUIRE,
7072
url=URL,
7173
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*',

0 commit comments

Comments
 (0)