-
Notifications
You must be signed in to change notification settings - Fork 983
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
Document the "Do not upload" classifier trick #643
Comments
https://github.com/pypa/warehouse/blob/master/warehouse/templates/pages/classifiers.html which renders https://pypi.org/classifiers/ could probably also address this. |
Should there be a |
I may well have an open source project that I don't want to upload to PyPI (maybe because it's not yet ready for broad distribution). |
I came across this issue while finding a way to mark my python packages as private. Adding a cross-reference to a change in Warehouse which sort of "institutionalizes the trick": pypi/warehouse#5440 |
This is a special case because it is not listed in a trove classifier but it is a way to make sure that a private package is not get uploaded on PyPI by accident. Implementation on PyPI side: pypi/warehouse#5440 Issue about officially documenting the trick: pypa/packaging.python.org#643
Please see PR pypi/warehouse#10872 to document it on that page. Is that sufficient or is something also needed on https://packaging.python.org? |
Please see #1056 as well :) |
In this tweet, @di mentions a trick to prevent accidentally uploading your packages to PyPI by adding a
Private :: Do Not Upload
classifier and in the thread @ewdurbin mentioned that he had madePrivate
a reserved top-level classifier so the trick works reliably.It seems like it would be a good idea to document this somewhere for easy linking. It could go into a tutorial or maybe we can add a "miscellaneous tips and tricks" section?
The text was updated successfully, but these errors were encountered: