Skip to content
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

Merged
merged 4 commits into from
Jul 19, 2024
Merged

Write project guide #5195

merged 4 commits into from
Jul 19, 2024

Conversation

ibraheemdev
Copy link
Member

@ibraheemdev ibraheemdev commented Jul 18, 2024

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).

@ibraheemdev ibraheemdev added documentation Improvements or additions to documentation preview Experimental behavior labels Jul 18, 2024
@ibraheemdev ibraheemdev requested review from zanieb and charliermarsh and removed request for zanieb July 18, 2024 18:41
├── uv.lock
└── src
└── hello-world
└── __init__.py
Copy link
Member Author

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".

Copy link
Member

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?

@ibraheemdev ibraheemdev force-pushed the ibraheem/project-guide branch 2 times, most recently from b000cf8 to 8029892 Compare July 18, 2024 18:51
@@ -1,32 +1,136 @@
# Working on projects

uv can manage the development of a Python project from the ground up.
Copy link
Member Author

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.

Copy link
Member

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.

@zanieb zanieb self-assigned this Jul 18, 2024

### `uv.lock`

`uv.lock` is a lockfile that contains exact information about your project's
Copy link
Member Author

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)?

Copy link
Member

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

Copy link
Member

@zanieb zanieb left a 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!

@zanieb zanieb merged commit 360079f into main Jul 19, 2024
42 checks passed
@zanieb zanieb deleted the ibraheem/project-guide branch July 19, 2024 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation preview Experimental behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants