相关疑难解决方法(0)

setup.py/setup.cfg 安装所有附加功能

我在 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)

installation setuptools setup.py

3
推荐指数
1
解决办法
1038
查看次数

标签 统计

installation ×1

setup.py ×1

setuptools ×1