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

pixi add support for git source dependencies #2795

Closed
tdejager opened this issue Jan 2, 2025 · 3 comments · Fixed by #2858
Closed

pixi add support for git source dependencies #2795

tdejager opened this issue Jan 2, 2025 · 3 comments · Fixed by #2858
Assignees
Labels
area:build Related to pixi build ✨ enhancement Feature request

Comments

@tdejager
Copy link
Contributor

tdejager commented Jan 2, 2025

You want to be able to do something along the lines of:

pixi add " boltons @ https://github.com/boltons"
@tdejager tdejager added the ✨ enhancement Feature request label Jan 2, 2025
@tdejager tdejager added 🔃 refactor Specifies PR or Issue is related to a refactor area:build Related to pixi build and removed 🔃 refactor Specifies PR or Issue is related to a refactor area:build Related to pixi build labels Jan 3, 2025
@jgunstone
Copy link

hi -
yes I'm looking to do something like this...

in my example I'm after
pixi add "aectemplater-client @ git+https://git@github.com/maxfordham/digitalschedules.git@0.18.13#subdirectory=packages/aectemplater-client"

where it is installing a package within a sub directory.

is there are way to specify this in the pixi.toml file?

@ruben-arts
Copy link
Contributor

Hey @jgunstone, the subdirectory is the directory within the git repo you're installing. Pixi will clone the repo into the cache and build a wheel from that directory (assuming you are talking about pypi packages for now), and then install it into your environment.

@jgunstone
Copy link

ok sounds good -
how do I specify it to do that in the pixi.toml?

looked here https://pixi.sh/latest/reference/pixi_manifest/#pypi-dependencies but didn't the example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:build Related to pixi build ✨ enhancement Feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants