Skip to content

Conversation

@mgorny
Copy link
Contributor

@mgorny mgorny commented Mar 8, 2025

Include the conftest.py file and test assets in the source distribution archives explicitly. Otherwise, only test_*.py files are included, and they are insufficient to run tests.

Include the `conftest.py` file and test assets in the source
distribution archives explicitly.  Otherwise, only `test_*.py` files
are included, and they are insufficient to run tests.
@CLAassistant
Copy link

CLAassistant commented Mar 8, 2025

CLA assistant check
All committers have signed the CLA.

@woodruffw
Copy link
Member

Including these makes sense, thanks. Any chance we could do it via pyproject.toml instead of a separate MANIFEST.in, to keep to root directory cleaner?

@mgorny
Copy link
Contributor Author

mgorny commented Mar 10, 2025

I don't think there's an explicit equivalent supported. I think using setuptools-scm to include all files from the repository could work, though.

@woodruffw
Copy link
Member

#103 should do this. Thanks again for raising @mgorny!

@woodruffw woodruffw closed this Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants