-
Notifications
You must be signed in to change notification settings - Fork 12
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
Allows to use Maturin with UV #290
base: develop
Are you sure you want to change the base?
Conversation
a9f79c6
to
c704bfc
Compare
fe1ba70
to
04edf8f
Compare
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.
@NiklasRosenstein in case you're around sometimes, this would be a really nice to have to start migrating some projects to uv ;)
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 looks good to me, left a comment.
else: | ||
from .maturin import MaturinUvPythonBuildSystem | ||
|
||
if "[tool.uv]" not in pyproject_content: |
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.
if "[tool.uv]" not in pyproject_content: | |
if "[tool.uv" not in pyproject_content: |
Just like the checks for poetry/pdm?
"Got no hint as to the Python dependency system used in the project '%s', falling back to UV (experimental)", | ||
project_directory, | ||
) | ||
return MaturinUvPythonBuildSystem(project_directory) | ||
|
||
if "pdm" in pyproject_content: | ||
from .pdm import PDMPythonBuildSystem | ||
|
||
return PDMPythonBuildSystem(project_directory) | ||
|
||
if "[tool.uv]" not in pyproject_content: |
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.
if "[tool.uv]" not in pyproject_content: | |
if "[tool.uv" not in pyproject_content: |
For consistency with the above?
No description provided.