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

Config and command to install dependencies with alternative package indexes #7149

Open
AdrianB-sovo opened this issue Sep 7, 2024 · 1 comment

Comments

@AdrianB-sovo
Copy link

AdrianB-sovo commented Sep 7, 2024

I'm using AWS CodeArtifact and I want to install all dependencies with an uv command — without running anything, just to have the dependencies available for my IDE after cloning the project —.

Currently, the only way I could find is to have a script (e.g. install_requirements.sh) in each project that would export UV_EXTRA_INDEX_URL (except that I personnally use the SSO profile with --profile option in AWS CLI), then run the uv pip install command.

Is there something planned to have something defined somewhere (e.g. some uv install hooks?) that would be automatically used by an uv command to install dependencies, without a custom script?
The idea is that, if someone wants to clone a repo to start working on it, there would be an official way to do that.

@zanieb
Copy link
Member

zanieb commented Sep 7, 2024

I think we'll be tackling this in #171 when we allow add index sources to the pyproject.toml directly, cc @charliermarsh

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

No branches or pull requests

2 participants