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

Allow installing extra packages into an existing installed package. #39

Closed
wants to merge 1 commit into from

Conversation

schinckel
Copy link

I think this mostly resolves the issues detailed below, which are all variations on the same theme:

Resolves #31, #29, #13.

This creates an extra command install_into, that takes two arguments - the existing package, and the new module that should be installed into that package.

For instance:

pipsi install_into tox detox

It should be possible to also use the same philosophy to do:

pipsi install detox --into tox

But I haven't implemented this yet. Interested to hear which approach is preferred.

@RonnyPfannschmidt
Copy link
Contributor

in my oppinion the second form should be preferred

i also think there should be a json/text file remembering
the explicitly requested packages for upgrades/recreation of envs and script re-linking

@schinckel
Copy link
Author

Hmm. We already have a mechanism for storing sets of requirements for installing with pip. Perhaps after installing, pipsi could do a pip freeze > somewhere. But where to store these files?

Or were you thinking a single file for all installed venvs?

@RonnyPfannschmidt
Copy link
Contributor

pip freeze cannot possibly solve the issue wrt updates and remembering which scripts to link

also it should be possible to install packages without scripts without fail (think of plugins for a tool that has a script)

json files either inside each the virtualenv or inside the pipsi home are fine

@RonnyPfannschmidt
Copy link
Contributor

Closing since it's a dead end

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

Successfully merging this pull request may close these issues.

detailed/extended environment creation/update
2 participants