Skip to content

Commit

Permalink
🚧🔧 Add 'extras' and 'full' extras_require installation options (#1089)
Browse files Browse the repository at this point in the history
* 🚧🔧 Added 'extras' and 'full' extras_require install option

This will allow to install pyglotaran together with pyglotaran-extras by calling 'pip install pyglotaran[extras]' or 'pip install pyglotaran[full]'

* 📚🚧 Added change to changelog

* 📚 Added note to readme about installing pyglotaran with extras
  • Loading branch information
s-weigand authored Jun 6, 2022
1 parent 98e6553 commit 022499a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ If you want to install it via conda, you can run the following command:
conda install -c conda-forge pyglotaran
```

To install pyglotaran together with [pyglotaran-extras](https://github.com/glotaran/pyglotaran-extras) which provides common plotting functionality you can run:

```console
pip install pyglotaran[extras]
```

### From Source

To install from source, e.g. for testing or development purposes, run these commands in your shell/terminal:
Expand Down
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
- ♻️ Move simulation to own module (#1041)
- ♻️ Move optimization to new module glotaran.optimization (#1047)
- 🩹 Fix missing installation of clp-guide megacomplex as plugin (#1066)
- 🚧🔧 Add 'extras' and 'full' extras_require installation options (#1089)

### 🩹 Bug fixes

Expand Down
6 changes: 6 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ glotaran.plugins.project_io =
xlsx = glotaran.builtin.io.pandas.xlsx
folder = glotaran.builtin.io.folder.folder_plugin

[options.extras_require]
extras =
pyglotaran-extras>=0.5.0
full =
pyglotaran[extras]

[aliases]
test = pytest

Expand Down

0 comments on commit 022499a

Please sign in to comment.