Skip to content
Snippets Groups Projects
Commit f544c22a authored by Jan Caron's avatar Jan Caron
Browse files

Shifted deprecated test requirements!

from tests_requires to extras_requires:tests
parent 1b6d902c
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ test_style:
image: continuumio/miniconda3:latest
script:
# -m: only run tests marked with "flake8"
- pyroma . --min=10 # Checks setup.py for cheese! Maxium cheese 10!
- pyroma . --min=10 # Checks setup.py for cheese! Maximum cheese 10!
- python setup.py test --addopts "--flake8 -m flake8"
test_function:
......
......@@ -38,6 +38,8 @@ Per default, only the strictly required libraries are installed, but there are a
* ``colors`` will install the `cmocean <https://matplotlib.org/cmocean/>`_, whose ``balance`` color map is used as a default for the ``imshow`` commmand, if available.
* ``tests`` will install all dependencies that are needed to test the package (usually not necessary for the average user).
* ``all`` will install all of the dependencies listed above.
......
......@@ -36,12 +36,6 @@ packages = find:
python_requires = >=3.7
setup_requires =
setuptools
tests_require =
coverage
pytest
pytest-cov
pytest-flake8
pytest-runner
install_requires =
numpy >= 1.17
matplotlib >= 3
......@@ -64,6 +58,13 @@ colors =
all =
pyfftw
cmocean
tests =
pyroma
coverage
pytest
pytest-cov
pytest-flake8
pytest-runner
# TODO: pip install .[io] is not working because hyperspy depends on trait which has no wheels on PyPI at the moment...
# TODO: See https://github.com/hyperspy/hyperspy/issues/2315 and https://github.com/enthought/traits/issues/357
# TODO: Add hyperspy back as soon (if?) this is resolved... Until then: install hyperspy with conda!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment