Skip to content

Commit

Permalink
rename [extras] optional dependency to [all] (#281)
Browse files Browse the repository at this point in the history
* rename test optional dependency to tests

* edit docs

* version bump

* edit CI

* revert back to test

* [all] instead of [extras]

---------

Co-authored-by: Will Handley <[email protected]>
  • Loading branch information
AdamOrmondroyd and williamjameshandley authored Apr 11, 2023
1 parent ca4e0b2 commit 08905f4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Upgrade pip and install doc requirements
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[extras,docs]"
python -m pip install -e ".[all,docs]"
- name: build documentation
run: |
cd docs
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Install extra dependencies
if: ${{ matrix.extras }}
run: |
python -m pip install -e ".[extras]"
python -m pip install -e ".[all]"
- name: Test with pytest
run: python -m pytest --cov=anesthetic tests
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
anesthetic: nested sampling post-processing
===========================================
:Authors: Will Handley and Lukas Hergt
:Version: 2.0.0-beta.27
:Version: 2.0.0-beta.28
:Homepage: https://github.com/handley-lab/anesthetic
:Documentation: http://anesthetic.readthedocs.io/

Expand Down Expand Up @@ -122,7 +122,7 @@ Full Documentation is hosted at `ReadTheDocs <http://anesthetic.readthedocs.io/>

.. code:: bash
python -m pip install ".[extras,docs]"
python -m pip install ".[all,docs]"
cd docs
make html
Expand Down
2 changes: 1 addition & 1 deletion anesthetic/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.0.0b27'
__version__ = '2.0.0b28'
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ test = ["pytest", "pytest-cov", "flake8", "pydocstyle", "packaging", "pre-commit
astropy = ["astropy"]
fastkde = ["fastkde"]
getdist = ["getdist"]
extras = ["astropy", "fastkde", "getdist"]
all = ["astropy", "fastkde", "getdist"]

[project.scripts]
anesthetic = "anesthetic.scripts:gui"
Expand Down

0 comments on commit 08905f4

Please sign in to comment.