Skip to content

Commit

Permalink
tighten requirements to specify tests and docs require
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisDesdoigts committed May 29, 2023
1 parent 852200f commit 423976d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
11 changes: 1 addition & 10 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
# Core
jax
jaxlib
zodiax==0.4.0

# Extra
optax
matplotlib
jupyter
jupyterlab
tqdm
chainconsumer
# nummpyro
zodiax==0.4.0
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ def find_version(*file_paths):
with open('requirements.txt') as f:
install_requires = f.read().splitlines()
# 2. What dependencies required to run the unit tests? (i.e. `pytest --remote-data`)
# tests_require = ['pytest', 'pytest-cov', 'pytest-remotedata']
tests_require = ['pytest']
docs_require = ['optax', 'matplotlib', 'jupyter', 'jupyterlab', 'tqdm',
'chainconsumer', 'nummpyro']


setuptools.setup(
Expand All @@ -41,6 +43,8 @@ def find_version(*file_paths):
},

install_requires=install_requires,
tests_require=tests_require,
extras_require={'docs': docs_require},

classifiers=[
"Programming Language :: Python :: 3",
Expand Down

0 comments on commit 423976d

Please sign in to comment.