-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
updates @ packaging-projects.rst #1818
base: main
Are you sure you want to change the base?
Conversation
- fixed the raised value and configuration errors in pyproject.toml - made explicit the creation of a LICENSE file - added TestPyPI installation example (package wasn't recognized with current's tutorial command)
Thank you @sinoroc. Accepting changes. Co-authored-by: sinoroc <5529267+sinoroc@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @sinoroc. Accepting changes.
In case there is an issue with the above instruction and the package isn't recognized, use the link provided at TestPyPI: | ||
|
||
.. code-block:: bash | ||
|
||
python3 -m pip install --index-url https://test.pypi.org/simple/ example-package-YOUR-USERNAME-HERE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand; how does omitting --no-deps
help work around this issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's also dangerous to suggest this, as any other deps will be allowed from TestPyPI enabling supply chain attacks.
@@ -217,8 +217,7 @@ following this tutorial. | |||
"Programming Language :: Python :: 3", | |||
"Operating System :: OS Independent", | |||
] | |||
license = "MIT" | |||
license-files = ["LICEN[CS]E*"] | |||
license = { file = "LICENSE" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PEP 639 deprecates this syntax and uses this field for SPDX.
hi everyone, I was following the tutorial for packaging projects and thought that some details might help others.
This commit:
📚 Documentation preview 📚: https://python-packaging-user-guide--1818.org.readthedocs.build/en/1818/