我在 setup.cfg 中寻找“继承”其他附加功能的可能性,如下所示:
[options.extras_require]
all =
<doc>
<dev>
<test>
doc =
sphinx
dev =
dvc
twine # for publishing
<test>
test =
flake8
pytest
pytest-cov
coverage
pytest-shutil
pytest-virtualenv
pytest-fixture-config
pytest-xdist
Run Code Online (Sandbox Code Playgroud)
我希望通过运行来安装所有附加功能
pip install PACKAGE[all]
Run Code Online (Sandbox Code Playgroud)