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

Implement uv init #4791

Merged
merged 5 commits into from
Jul 19, 2024
Merged

Implement uv init #4791

merged 5 commits into from
Jul 19, 2024

Conversation

ibraheemdev
Copy link
Member

@ibraheemdev ibraheemdev commented Jul 3, 2024

Summary

Implements the uv init command, which initializes a project (pyproject.toml, README.md, src/__init__.py) in the current directory, or in the given path. uv init also does workspace discovery.

Resolves #1360.

@ibraheemdev ibraheemdev added the preview Experimental behavior label Jul 3, 2024
@ibraheemdev ibraheemdev force-pushed the ibraheem/uv-init branch 2 times, most recently from 3761525 to cdd0f3d Compare July 3, 2024 22:24
crates/uv-cli/src/lib.rs Outdated Show resolved Hide resolved
@zanieb
Copy link
Member

zanieb commented Jul 4, 2024

Sorry I only got part way through reviewing and had to go — I'll try to give it another look soon.

konstin added a commit that referenced this pull request Jul 4, 2024
Fixes stack overflows in tests for #4791
charliermarsh pushed a commit that referenced this pull request Jul 4, 2024
Fixes stack overflows in tests for #4791
charliermarsh pushed a commit that referenced this pull request Jul 4, 2024
Fixes stack overflows in tests for #4791
charliermarsh pushed a commit that referenced this pull request Jul 4, 2024
Fixes stack overflows in tests for
#4791
@zanieb

This comment was marked as outdated.

@zanieb zanieb marked this pull request as draft July 15, 2024 16:21
@ibraheemdev ibraheemdev marked this pull request as ready for review July 18, 2024 20:55
@ibraheemdev ibraheemdev requested a review from zanieb July 18, 2024 20:55
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.

Let's go :)

@zanieb zanieb enabled auto-merge (squash) July 19, 2024 14:25
@zanieb zanieb merged commit 12dd450 into main Jul 19, 2024
54 checks passed
@zanieb zanieb deleted the ibraheem/uv-init branch July 19, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
preview Experimental behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request: A uv init command to generate a pyproject.toml
4 participants