-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Labels
generated-packageRelated to the generated package, i.e. after running cookiecutterRelated to the generated package, i.e. after running cookiecutter
Description
Checklist before submitting an issue
- I have checked the existing issues and couldn't find an issue about this bug.
Issue details
At
python-template/template/pyproject.toml.jinja
Lines 45 to 74 in 624648f
| dev = [ | |
| "build", # build is not only used in publishing (below), but also in the template's test suite | |
| "bump-my-version", | |
| {%- if AddLocalTests %} | |
| "coverage [toml]", | |
| "pytest", | |
| "pytest-cov", | |
| {%- endif %} | |
| "ruff", | |
| {%- if AddLocalDocumentation %} | |
| "sphinx", | |
| "sphinx_rtd_theme", | |
| "sphinx-autoapi", | |
| {%- endif %} | |
| "tox", | |
| "myst_parser", | |
| ] | |
| {%- if AddLocalDocumentation %} | |
| docs = [ | |
| "sphinx", | |
| "sphinx_rtd_theme", | |
| "sphinx-autoapi", | |
| "myst_parser", | |
| ] | |
| {%- endif %} | |
| publishing = [ | |
| "build", | |
| "twine", | |
| "wheel", | |
| ] |
pip install -e .[dev].
These optional dependencies are meant for the package developer not for someone installing the package from PyPi.
Recently (Oct 2024) dependency groups where introduced and now most package managers (like pip and uv) can use it.
As someone that installs package via PyPi I would like it that any optional dependencies are useful and usable for me.
egpbos
Metadata
Metadata
Assignees
Labels
generated-packageRelated to the generated package, i.e. after running cookiecutterRelated to the generated package, i.e. after running cookiecutter