-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
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
[FR] Support specifying MANIFEST.in config via pyproject.toml #3341
Comments
Hi @jwodder thank you very much for the suggestion. How about we take this opportunity (the move to I have the impression that people have a hard time with (In terms of personal priority though, I am currently prioritizing my efforts in setuptools to improve PEP-compliance, starting with PEP 660 and probably moving next to the core metadata). |
Totally looking forward to getting rid of MANIFEST.in. |
Implementation on the poetry side. |
Hello, |
These days I would recommend hatch/hatchling if you dont need compiled extensions: https://hatch.pypa.io/latest/config/build/ |
Tox has some legacy field for accelerating this transition, like:
Until some solution for the final syntax is discussed, which seems to be lengthy process, why not adding |
This seems resolved by using package_data:
Thus no MANIFEST.in file is needed if # pyproject.toml
[tool.setuptools.package-data]
mypkg = ["*.txt", "*.rst"] |
@peekxc |
I see. Then please ignore my comment. |
What's the problem this feature will solve?
Now that setuptools has support for specifying
setup.cfg
options inpyproject.toml
, one config file remains:MANIFEST.in
. It would be nice ifMANIFEST.in
options could be specified inpyproject.toml
so that a setuptools project could be configured entirely through one file.(And before anyone suggests it,
setuptools_scm
does not help me: there are files in source control that I don't want to include in sdists, like.gitignore
and.github/
, so I'd still need aMANIFEST.in
, and I'm back to square one.)Describe the solution you'd like
Just spitballing: the following
MANIFEST.in
:could be represented in
pyproject.toml
as:or maybe:
Alternative Solutions
No response
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: