Comments (7)
A start might be a way to tell pipsi to:
- install the package in a venv whose name I can specify but without linking anything into the bin-dir
pipsi install-as ansible-2 ansible==2.0.2.0
- link the binaries from the specified venv into the (maybe specified) bin-dir, using the specifed name
pipsi link ansible-2 ansible ansible2
pipsi link ansible-2 ansible ansible2 --bin-dir /path/to/bin
Both of these things are fairly simple, I think, and potentially worth doing individually anyway. pipsi link
would allow the links to pipsi to be more easily moved/copied from the bin-dir that was specified at install time. Combine it with install-as
and it's possible to use pipsi to manage a farm of python utils where, for instance, ansible 1 is in one project's bin directory while ansible 2 is in a different project's directory.
from pipsi.
currently that is not supported, its also not clear how to support this without metadata about the envs
from pipsi.
One naive idea would have been to name the envs accordingly, i.e., ansible==2.0.2.0
is installed to an env named ansible-2.0.2.0
. Binaries would be linked as ansible-2.0.2.0
, ansible-playbook-2.0.2.0
, and so on... Do you think more metadata would be needed?
from pipsi.
I would add an "update alternatives" componenet to it as well..link the versioned executables, but then also allow a selector that says "show me the available versions, and let me choose which one I want linked to the primary binaries".
Again, naively, you should be able to have a list of scripts you're going to link from a given setup file, although it's possible that could change between versions...
I also have this need, with ansible being the main driver. :-)
from pipsi.
that was my plan before i stopped using pipsi in favour of nix
from pipsi.
Are you using nix to give you isolated venvs for python tools, or are you using nixos? If the former, is there a guide to doing that?
from pipsi.
i do both - i used nox before, now i also use nixos, there are guides for using nix on other distros
from pipsi.
Related Issues (20)
- move PATH fixing out of get_pipsi HOT 5
- pipsi adding ~/.local/bin to bashrc should be configured by a parameter HOT 5
- Use of virtualenv (for Py3) leads to venv creating broken venvs HOT 4
- "TypeError: coercing to Unicode:..." while installing pipsi HOT 2
- Unable to install tools like pipenv: 'Did not find any scripts. Uninstalling.' HOT 6
- Pipsi installed but still `command not found` in terminal HOT 10
- Upgrade all packages at once HOT 2
- pipsi list fails before first install HOT 3
- Python upgrades make environments unusable HOT 1
- Struggles with Installing Pipenv through Pipsi and Pyenv HOT 1
- Allow installation from source HOT 4
- Checklist/Roadmap for new release (> 0.9)
- Additional maintainers HOT 25
- List command raises errors on master branch
- pipsi install fails with OSError
- Support for specifying the index HOT 1
- recommend pipx instead of pipsi HOT 1
- azure-cli not installed correctly HOT 2
- keyring has a CLI but cannot be installed by pipsi HOT 2
- How to install pipsi on Raspbian HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pipsi.