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

support for injecting packages #12

Open
elevaitleo opened this issue Apr 7, 2022 · 3 comments
Open

support for injecting packages #12

elevaitleo opened this issue Apr 7, 2022 · 3 comments

Comments

@elevaitleo
Copy link

Thanks for this package, it solves exactly my use-case.

However, to be complete, I would need to be able to inject some packages into some environment. This is needed for developing own packages that depend on conda packages.

Do you have any idea if this is supported, and if not how hard it would be to support it?

@mariusvniekerk
Copy link
Owner

What do you mean by injecting packages?
condax installs a fully working conda environment and just harvests entrypoints from the "leaf" level package

@mforbes
Copy link

mforbes commented Jul 11, 2022

@mariusvniekerk: Not sure if this is @elevaitleo's use-case, but as an example: I would like to use condax to install Mercurial with several extensions like hg-git and evolve. I currently do this with an environment file like the following, where I need some extra packages to enable these extensions. How would I do this with condax?

# environment.hg.yml
name: hg
channels:
  - conda-forge
  - defaults
dependencies:
  - python >= 3
  - mercurial >= 5.6
  - pygit2
  - hg-git
  - hg-evolve
  
  - pip
  - pip:
    - python-hglib
    - mmf-setup

@mariusvniekerk
Copy link
Owner

@elevaitleo Are you looking to have functionality similar to https://pypa.github.io/pipx/docs/#pipx-inject ?

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

3 participants