-
Notifications
You must be signed in to change notification settings - Fork 184
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
pypi support for pixi global
subcommands
#565
Comments
He, The It feels to me that the To your last question, as of right now it might not be the best fit for your use-case. We designed it to be nice for single tools but not really a "base" environment type of solution. Until the inject is solved, you should probably stay with |
Since |
I'm confused about What I sawRan Then I wanted it to have pip:
So far so good. Then ran
Huh?
What I intendedpython -m ensurepip --upgrade or that Sounds like |
He @liquidcarbon, This means if you globally install Thus this way of working with My advise for now is to use |
@ruben-arts thanks for explaining, never used pipx, didn't realize that's the model for pixi global! |
This also seems to be a better matching of existing APIs given that $ pixi --version
pixi 0.15.2
$ pixi add --help | tail -n 40
Options:
--manifest-path <MANIFEST_PATH>
The path to 'pixi.toml'
--host
The specified dependencies are host dependencies. Conflicts with `build` and `pypi`
--build
The specified dependencies are build dependencies. Conflicts with `host` and `pypi`
--pypi
The specified dependencies are pypi dependencies. Conflicts with `host` and `build`
--no-lockfile-update
Don't update lockfile, implies the no-install as well
--no-install
Don't install the package to the environment, only add the package to the lock-file
-p, --platform <PLATFORM>
The platform(s) for which the dependency should be added
-f, --feature <FEATURE>
The feature for which the dependency should be added
-v, --verbose...
Increase logging verbosity
-q, --quiet...
Decrease logging verbosity
--color <COLOR>
Whether the log needs to be colored
[env: PIXI_COLOR=]
[default: auto]
[possible values: always, never, auto]
-h, --help
Print help (see a summary with '-h') So strong 👍 for this. |
Hey all, we currently don't see a close future where we would be able to do a better job than I know it's nice to have but in the current state we don't want to take on the extra maintainence while there is an other tool we really like and does exactly the same. You can use
Our plan is to make the |
Out of curiosity, does the new |
Problem description
Pixi is adding support for pypi, and I think
pixi global
should support it.I don't think this one part is a big lift, so I'm willing to take it on. But I do have a question to start, because perhaps this could be decided as out of scope.
I believe that each package installed with
pixi global install
has its own environment, but I may want to be able specify that I want to installpackageA
in the same env that I installedpackageB
. Even beyond pypi packages, doespixi global
allow for dependencies beyond the conda recipe? (Note that pipx's subcommandinject package [unexposed_dependencies ...]
has this behavior and it also does manpages)A common use case could be
Should I install the lsp server with plugins and depends with
pixi global
or should I use something else?The text was updated successfully, but these errors were encountered: