Skip to content

Commit

Permalink
build: setup.py test is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Apr 8, 2021
1 parent fc01990 commit 4628119
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
7 changes: 4 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@ Testing
::

pip install -e .
python setup.py test
pip install pytest
pytest tests

.. |PyPI Version| image:: https://img.shields.io/pypi/v/qpformat.svg
:target: https://pypi.python.org/pypi/qpformat
.. |Tests Status| image:: https://img.shields.io/travis/RI-imaging/qpformat.svg?label=tests
:target: https://travis-ci.com/RI-imaging/qpformat
.. |Tests Status| image:: https://img.shields.io/github/workflow/status/RI-Imaging/qpformat/Checks
:target: https://github.com/RI-Imaging/qpformat/actions?query=workflow%3AChecks
.. |Coverage Status| image:: https://img.shields.io/codecov/c/github/RI-imaging/qpformat/master.svg
:target: https://codecov.io/gh/RI-imaging/qpformat
.. |Docs Status| image:: https://readthedocs.org/projects/qpformat/badge/?version=latest
Expand Down
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[aliases]
test = pytest

[metadata]
license_file = LICENSE

2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
"tifffile>=2020.5.25",
"scipy>=0.18.0",
],
setup_requires=['pytest-runner'],
tests_require=["pytest"],
python_requires='>=3.6, <4',
entry_points={
"console_scripts": [
Expand Down

0 comments on commit 4628119

Please sign in to comment.