Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 10785c3

Browse files
musicinmybrainhroncok
authored andcommitted
Drop pytest-runner and "setup.py test" support
1 parent 027f9fe commit 10785c3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ def _autogen(*args, **kwargs):
1919
author_email='[email protected]',
2020
url='https://github.com/admesh/python-admesh',
2121
license='GPLv2+',
22-
setup_requires=['Cython>=0.22', 'pytest-runner'],
23-
tests_require=['pytest'],
22+
setup_requires=['Cython>=0.22'],
23+
extras_require={'test': ['pytest']},
2424
packages=find_packages(),
2525
cmdclass={'build_ext': _autogen},
2626
ext_modules=[Extension("admesh", ["admesh.pyx"], libraries=["admesh"])],

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
envlist = py37,py36,py35,py34,py27,pypy3,pypy
33
[testenv]
44
deps=Cython
5-
commands=python setup.py test
5+
extras=test
6+
commands=pytest
67
passenv =
78
CFLAGS
89
LDFLAGS

0 commit comments

Comments
 (0)