diff --git a/setup.cfg b/setup.cfg index 858027a..e215b67 100644 --- a/setup.cfg +++ b/setup.cfg @@ -32,6 +32,9 @@ setup_requires = install_requires = pytest>=4.6 numpy + +[options.extras_require] +test = astropy [options.entry_points] diff --git a/tox.ini b/tox.ini index f1833ab..c278ab9 100644 --- a/tox.ini +++ b/tox.ini @@ -19,7 +19,8 @@ deps = pytest61: pytest==6.1.* pytest62: pytest==6.2.* pytestdev: git+https://github.com/pytest-dev/pytest#egg=pytest - +extras = + test commands = pip freeze pytest {toxinidir}/tests {posargs}