Skip to content

Commit 22dfbed

Browse files
authored
Merge pull request #400 from ComputationalCryoEM/patch_363
Move some developer deps to "dev" package extension
2 parents 4b25c09 + 350e79f commit 22dfbed

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,15 @@ def read(fname):
2727
"finufft",
2828
"importlib_resources>=1.0.2",
2929
"joblib",
30-
"jupyter",
3130
"matplotlib",
3231
"mrcfile",
3332
"numpy==1.16",
3433
"pandas==0.25.3",
3534
"pyfftw",
3635
"pillow",
37-
"pytest",
38-
"pytest-cov",
3936
"scipy==1.4.0",
4037
"scikit-learn",
4138
"setuptools>=0.41",
42-
"sphinxcontrib-bibtex",
43-
"sphinx-rtd-theme>=0.4.2",
4439
"tqdm",
4540
],
4641
# Here we can call out specific extras,
@@ -54,9 +49,14 @@ def read(fname):
5449
"check-manifest",
5550
"flake8>=3.7.0",
5651
"isort",
52+
"jupyter",
5753
"pyflakes",
5854
"pydocstyle",
55+
"pytest",
56+
"pytest-cov",
5957
"pytest-random-order",
58+
"sphinxcontrib-bibtex",
59+
"sphinx-rtd-theme>=0.4.2",
6060
"snakeviz",
6161
"tox",
6262
],

tox.ini

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ minversion = 3.8.0
1313
changedir = tests
1414
deps =
1515
pytest
16+
pytest-cov
1617
Cython>=0.23
1718
commands =
1819
python -V
@@ -28,6 +29,7 @@ whitelist_externals=
2829
changedir = tests
2930
deps =
3031
pytest
32+
pytest-cov
3133
Cython>=0.23
3234
commands =
3335
sh -c "pip freeze | cut -d@ -f1 | cut -d= -f1 | xargs -n1 pip install -U"
@@ -38,8 +40,10 @@ commands =
3840

3941
[testenv:docs]
4042
changedir = docs
41-
depends =
43+
deps =
4244
sphinx
45+
sphinxcontrib-bibtex
46+
sphinx-rtd-theme
4347
commands =
4448
sphinx-apidoc -f -o ./source ../src -H Modules
4549

0 commit comments

Comments
 (0)