Skip to content

Commit

Permalink
fix test procedure when compiled c-code is used
Browse files Browse the repository at this point in the history
- fixed a bug in setup.py
- change test produre in Makefile to use `python setup.py test` rather
than `python -m pytest`, so the tests run on an installed package
  • Loading branch information
kosack committed Sep 1, 2017
1 parent dee073b commit e1f6629
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ clean:
find . -name __pycache__ | xargs rm -fr

test:
$(PYTHON) -m pytest
$(PYTHON) setup.py test

doc:
cd docs && $(MAKE) html
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
'matplotlib>=2.0',
'numba',
],
tests_require=['pytest', 'ctapipe_resources>=0.2.11'],
tests_require=['pytest', 'ctapipe-extra>=0.2.11'],
author=AUTHOR,
author_email=AUTHOR_EMAIL,
license=LICENSE,
Expand Down

0 comments on commit e1f6629

Please sign in to comment.