We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1d2ece commit b7b1aa9Copy full SHA for b7b1aa9
setup.py
@@ -25,7 +25,8 @@
25
]
26
27
INSTALL_REQUIRES = ['numpy >= 1.12', 'pandas >= 0.19.2']
28
-SETUP_REQUIRES = ['pytest-runner >= 4.2']
+needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
29
+SETUP_REQUIRES = ['pytest-runner >= 4.2'] if needs_pytest else []
30
TESTS_REQUIRE = ['pytest >= 2.7.1']
31
if sys.version_info[0] < 3:
32
TESTS_REQUIRE.append('mock')
0 commit comments