-
-
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
Moved distutils' doc for setup-keywords into our doc to document all supported keywords #1765
Conversation
I think some of those keywords should be marked as deprecated:
|
And for |
Should |
@venthur It's not quite deprecated, more discouraged. As long as it's possible to invoke the |
You're missing the |
|
They are still valid Another keyword missing from this PR: |
I agree with @jwodder about what should and should not be documented, but given that those things are already undocumented, I don't think we need to block @venthur's PR on getting them added. I tend to think that we should merge a PR as long as it's an improvement on the current state of affairs even if it doesn't perfectly fix the problem it's attempting to solve. That said, I have three concerns here:
It is possible we're already doing the third thing and I just don't know about it, I just thought I'd bring it up in this ticket so we don't accidentally fall out of compliance. |
I've added the missing keywords (also the ones that are not supported anymore for completeness.
Regarding the licensing, I wouldn't bother too much. First of all, I didn't just copy paste from distutils, I reformulated the explanation so they match with what you had before. But if you want to be bullet proof, you could add a file somewhere in this repo, explaining that some parts of setuptools are based/copied from distutils which is licensed under ... |
So I've re-created the old structure. The keywords are in a separate file but |
Co-Authored-By: Benoit Pierre <benoit.pierre@gmail.com>
We actually use the deprecated by PEP 314 fields
The So we should deprecate the use of |
@benoit-pierre Is there any way for us to detect whether something is a package or module when constructing the metadata? If so, I think it might be easier for us to detect modules and just deprecate the use of If not, it seems somewhat excessive to add new keywords and drop the old ones just to notify people not to put module names there (since most people probably aren't doing that anyway). @venthur I was originally thinking we should put these keywords on their own page, just not with the top-level link to them, but I think it might be better to do a total re-org of the docs at some point, which would mean additional links would have a pretty short lifetime so maybe you are right that having it directly in-line is better? I'll take a closer look at this soon-ish and see what I think. Sorry for the delay. |
I'd prefer if we used 2 new dedicated keywords, instead of trying to be clever about it. Be explicit. This will also simplify the documentation, as we can just link to the relevant PEP section, instead of copy pasting and merging to different PEPs. |
Any updates on this? This was quite a lot of work and it would be a shame to let it rot. |
I've re-synced the PR. Unless there's objection, I recommend to merge this change and iterate from there. |
this branch gets more and more difficult to maintain. can we please merge? |
This is also missing |
Summary of changes
Closes #1700
Pull Request Checklist