Skip to content

Commit

Permalink
move dust_attenuation to install option
Browse files Browse the repository at this point in the history
  • Loading branch information
gbrammer committed Oct 25, 2024
1 parent aff1e8b commit 765990b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Installation instructions

.. code:: bash
$ pip install eazy
$ pip install eazy[dust]
Demo
~~~~
Expand Down
2 changes: 1 addition & 1 deletion docs/rtd-pip-requirements
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ astropy
sphinx_astropy
tqdm

git+https://github.com/karllark/dust_extinction
dust_extinction
git+https://github.com/karllark/dust_attenuation
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,17 @@ dependencies = [
"peakutils",
"scipy<1.14",
"tqdm",
"dust_attenuation @ git+https://github.com/karllark/dust_attenuation.git",
]

[project.optional-dependencies]
dust = [
"dust_attenuation @ git+https://github.com/karllark/dust_attenuation.git",
]
docs = [
"sphinx",
"sphinx-astropy",
"toml",
"dust_attenuation @ git+https://github.com/karllark/dust_attenuation.git",
]
test = [
"flake8",
Expand Down

0 comments on commit 765990b

Please sign in to comment.