Only packages available in pypi and conda-forge can be added to this list.
To add an extension:
- add the package name and a short description to the table in
readme_source/1-readme_base.md
- add the name of the extension (name on pypi) to
extension_list.txt
- open a pull request to https://github.com/hyperspy/hyperspy-extensions-list
The README.md
will be updated automatically by a Github workflow, after the
pull request is merged. In case github actions are enabled in the repository the
pull request is coming from, the workflow will run in the fork repository and
the branch (and therefore the pull request) will be updated when necessary.
Additionally, this workflow runs weekly to keep the signal_type
list up to date.
To collect the necessary information, it is necessary to install all the packages
in a dedicated python environment and generate the README.md
from it.
- create and activate the environment - see below
- run python make_README.py to update the README.md file
- run
python -m venv ext_list_env
- run
source ext_list_env/bin/activate
# on macOS and Linux run.\ext_list_env\Scripts\activate
# on Windows - run
pip install -r extension_list.txt
- run
conda create -n ext_list_env python -c conda-forge --file extension_list.txt
- run
conda activate ext_list_env