Skip to content

Commit

Permalink
setuptools now knows how to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jfhbrook committed Oct 1, 2016
1 parent 01c9ca0 commit 4966155
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Development:

- For development purposes, you can link this project to your global space with
``python setup.py develop``.
- Tests can be ran with ``pytest -v``.
- Tests can be ran with ``python setup.py test``.
- Documentation can be generated with ``cd ./docs && make html``.


Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[aliases]
test=pytest
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
version = "1.0.2",

packages = find_packages(),
setup_requires=[ 'pytest-runner' ],
tests_require = [ 'pytest' ],
include_package_data = True,

Expand Down

0 comments on commit 4966155

Please sign in to comment.