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

[FEATURE]Add UV config to pyproject.toml #1492

Closed
flingjie opened this issue Oct 23, 2024 · 1 comment
Closed

[FEATURE]Add UV config to pyproject.toml #1492

flingjie opened this issue Oct 23, 2024 · 1 comment
Labels
feature-request New feature or request

Comments

@flingjie
Copy link

Feature Area

Other (please specify in additional context)

Is your feature request related to a an existing bug? Please link it here.

NA

Describe the solution you'd like

[tool.uv]
index-url = "https://mirrors.aliyun.com/pypi/simple/"

Describe alternatives you've considered

For example, in China, using the default pip source (https://pypi.org/) to install will be slow, and need to use a specific pip to speed up. It is better to have a configuration item in the configuration file to configure it.

Additional context

No response

Willingness to Contribute

Yes, I'd be happy to submit a pull request

@flingjie flingjie added the feature-request New feature or request label Oct 23, 2024
@pythonbyte
Copy link
Collaborator

@flingjie
Thanks for bringing this up, if I'm not mistaken in this PR
astral-sh/uv#7747

Was added the ability on UV to add the specific source, in that case you can just run the uv command to add to the pyproject.toml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants