We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The docs @ https://setuptools.pypa.io/en/latest/userguide/miscellaneous.html#controlling-files-in-the-distribution say:
Files that match the following glob patterns: tests/test*.py, test/test*.py;
tests/test*.py
test/test*.py
Test files that have _test suffix in their base name are not included automatically. This is one of the common naming conventions. They should.
_test
Including test files that have _test suffix in base name would be super useful. Additionally, does this recognize well-known names like conftest.py?
conftest.py
No response
The example is a pyproject.toml looking as follows:
pyproject.toml
[build-system] requires = [ "setuptools", ] build-backend = "setuptools.build_meta" [project] name = "lokiverse" version = "1.0.0" dependencies = [ "cheroot", ]
The project has an src/ layout with top-level tests/ and the file at tests/api_test.py is not included.
src/
tests/
tests/api_test.py
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What's the problem this feature will solve?
The docs @ https://setuptools.pypa.io/en/latest/userguide/miscellaneous.html#controlling-files-in-the-distribution say:
Test files that have
_test
suffix in their base name are not included automatically. This is one of the common naming conventions. They should.Describe the solution you'd like
Including test files that have
_test
suffix in base name would be super useful. Additionally, does this recognize well-known names likeconftest.py
?Alternative Solutions
No response
Additional context
The example is a
pyproject.toml
looking as follows:The project has an
src/
layout with top-leveltests/
and the file attests/api_test.py
is not included.Code of Conduct
The text was updated successfully, but these errors were encountered: