add support for named global environments#48
add support for named global environments#48kkontosis wants to merge 1 commit intoAndydeCleyre:masterfrom
Conversation
|
Thanks so much, for letting me know zpy's been useful, and for sharing your changes! Sorry I haven't brought my full attention to this PR yet. I do want to understand what you're doing here, and start evaluating it by comparing it to the simplest approximation possible with the current state of zpy. Is the following correct?
|
|
Hello @AndydeCleyre ,
The original problem I was facing was: suppose I want to treat a python environment as "global", just like pip using conda / virtualenv. My limitation, using either So the suggested change is that, if the venv "path", is within the The advantages are the ones you mentioned:
And essentially with this merged, the user can choose between having any of:
If this logic is applied, there are improvements, like, e.g. currently, when running |
Hello, I've been using zpy as a package manager for myself, with some modifications to allow for creating and using named environments that are shared between projects (like in conda / virtualenv), so that the "venv" name is not a hash, but an actual name.
Sending this PR in case you like the modification and you think that's something you would like to be integrated in zpy.
Example of how I use it:
... and in order to install shared libraries: