1 июн. 2022 г. · If the tests are to be excluded from the wheel, but included in the sdist, the solution is to explicitly disable include-package-data (the default is true). Excluding a top-level directory from a setuptools package Why find_packages(exclude=xxx) does not work when doing ... Exclude global patterns in setuptools.packages.find is not ... Другие результаты с сайта stackoverflow.com |
11 апр. 2022 г. · For some reason, when include_package_data = True, subpackages excluded via options.packages.find.exclude are still added to the wheel. |
find: ( ; find_packages() ) takes a source directory and two lists of package name patterns to exclude and include, and then returns a list of ; str representing ... |
28 мая 2021 г. · [options.packages.find] exclude = arpeggio.tests doesn't work. In fact it doesn't work in a lot of other projects. But in other projects there usually no more ... |
21 нояб. 2023 г. · [tool.setuptools.packages.find] exclude = ['foo*tests'] include = ['foo*']. which correctly selects all files except the tests modules. But I ... |
For example, you can have the {find = {where = ["src"], exclude=["tests*"]}} directive for tool.setuptools.packages , or {attr = "mymodule.attr"} directive for ... |
20 февр. 2022 г. · When using tool.packages.find.exclude sub-packages don't get automatically excluded. The provided glob pattern has to match the entire package ... |
17 апр. 2020 г. · I finally found the culprit: it is a hidden interaction between setuptools_scm and the include_package_data=True flag. By itself, ... |
# setup.cfg [options] package = find_namespace: [options.packages.find] where = src exclude = tests. # pyproject.toml [tool.setuptools.packages.find] where ... |
18 сент. 2023 г. · Typically you would want to exclude tests/ from a package you are making as most users won't need to run the test suite (if they do they would ... |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |