Skip to content

Commit 06154a1

Browse files
committed
Make 'python setup.py test' to run the tests
1 parent be1cac0 commit 06154a1

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎setup.cfg‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[aliases]
2+
test=pytest

‎setup.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
install_requires=[
3535
'six',
3636
],
37+
setup_requires=['pytest-runner'],
38+
tests_require=['pytest'],
3739
entry_points = {
3840
'console_scripts': [
3941
'vmprofshow = vmprof.show:main'

0 commit comments

Comments
 (0)