Checklist before submitting an issue
Issue details
At
|
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", |
|
] |
we are defining optional dependencies that can be installed with
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.
Checklist before submitting an issue
Issue details
At
python-template/template/pyproject.toml.jinja
Lines 45 to 74 in 624648f
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.