Demos for “extras_require” sphinx extension
extras_require_demos.pkginfo_subpackage
This is an example of defining requirements in a __pkginfo__.py
file.
It was created with the following code:
.. extras-require:: extra_b
:__pkginfo__:
Attention
This module has the following additional requirements:
click<7.1.2 flask>=1.1.2 sphinx==3.0.3
These can be installed as follows:
python -m pip install extras-require-demos[extra_b]
Functions:
|
This function does something |
extras_require_demos.requirements_txt_subpackage
This is an example of defining requirements in a requirements.txt
file.
It was created with the following code:
.. extras-require:: extra_a
:file: requirements_txt_subpackage/requirements.txt
Attention
This module has the following additional requirements:
numpy>=1.18.4 pandas!=1.0.0,>=0.25.0 scipy==1.4.1
These can be installed as follows:
python -m pip install extras-require-demos[extra_a]
Functions:
|
This function does something |
extras_require_demos.setup_cfg_subpackage
This is an example of defining requirements in a setup.cfg
file.
It was created with the following code:
.. extras-require:: extra_c
:setup.cfg:
Attention
This module has the following additional requirements:
faker pytest tox
These can be installed as follows:
python -m pip install extras-require-demos[extra_c]
Functions:
|
This function does something |
extras_require_demos.manual_subpackage
This is an example of defining requirements manually.
It was created with the following code:
.. extras-require:: extra_c
pytz >=2019.1
Attention
This module has the following additional requirement:
pytz>=2019.1
This can be installed as follows:
python -m pip install extras-require-demos[extra_c]
Functions:
|
This function does something |