-
-
Notifications
You must be signed in to change notification settings - Fork 824
📝 Update the "Building a Package" tutorial to use uv instead of poetry
#1474
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
base: master
Are you sure you want to change the base?
Conversation
📝 Docs previewLast commit 4c8d320 at: https://adf42f51.typertiangolo.pages.dev Modified Pages |
| Commands: | ||
| load Load the portal gun | ||
| shoot Shoot the portal gun | ||
| load Load the portal gun |
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.
This order is now changed because Typer respects the order in which the functions were defined since #944.
|
|
||
| That works! 🚀 Sort of... 🤔 | ||
|
|
||
| See the `__main__.py` in the help instead of `rick-portal-gun`? We'll fix that next. |
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.
When I run the steps as outlined above, I don't see __main__.py anymore in the help text. Instead, I see python -m rick_portal_gun. So, I removed the entire next paragraph, unless we still want it?
| ``` | ||
|
|
||
| And in the file `rick_portal_gun/__init__.py`: | ||
| And in the file `src/rick_portal_gun/__init__.py`: |
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.
In fact, is this necessary to edit __init__.py and have the version there?
Updated the section in the docs on building & publishing a package, to use
uvinstead ofpoetry.