-
Notifications
You must be signed in to change notification settings - Fork 762
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
Write project guide #5195
Write project guide #5195
Conversation
76ec686
to
d3d3c17
Compare
├── uv.lock | ||
└── src | ||
└── hello-world | ||
└── __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.
This is assuming that uv init
creates the venv and lockfile. I found that this made it a little easier to explain things than having a distinction between "the things that are created by uv init
" and "the things that are created the first time you execute uv run
".
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 think it's fine to create them both personally. Maybe we just want an opt-out flag?
b000cf8
to
8029892
Compare
8029892
to
2b0ec44
Compare
@@ -1,32 +1,136 @@ | |||
# Working on projects | |||
|
|||
uv can manage the development of a Python project from the ground up. |
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.
Feel like we need a better tagline 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.
Maybe just define a project e.g.: uv is capable of managing projects using the pyproject.toml
standard.
docs/guides/projects.md
Outdated
|
||
### `uv.lock` | ||
|
||
`uv.lock` is a lockfile that contains exact information about your project's |
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.
Are we recommending to check this in to VCS (does that depend on application vs. library)?
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 think it should always be checked into VCS
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.
Going to merge and iterate on it after. Thanks!
Summary
Write the project guide that was added in #5135.
I tried to expand on details as much as I felt was necessary for someone new to python package managers (which was myself a couple months ago).