pipipxx 1.0.1
pip install pipipxx
Released:
pipipxx (pronounced pipx in pipx): Bootstrap your pipx with pipx.
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache 2.0)
- Author: Matt Bullock
- Maintainer: Matt Bullock
- Tags pipipxx, pipx
Classifiers
- Development Status
- Intended Audience
- License
- Natural Language
- Programming Language
Project description
docs |
read-the-docs |
|
linux |
static analysis |
|
linux |
CPython 3.7 |
|
windows |
CPython 3.7 |
pipx is great for keeping your CLI tools isolated and your system Python paths clean. However, it still requires that you install pipx itself in your system Python.
But pipx is a CLI tool installed through pip…why not install pipx with pipx? Why not indeed!
With pipx-in-pipx, all you need to do is install :
$ pip install pipx-in-pipx
But wait! You say. Didn’t you just say that we shouldn’t install things to system Python?
Yes. What pipx-in-pipx actually does is slightly (but only slightly) evil. Rather than actually installing anything when you run “install”, pipx-in-pipx instead builds a temporary virtual environment, installs pipx there, and then uses that pipx to install pipx in your user local space, just like any other pipx-installed tool.
What you end up with is a pipx installation that is itself managed by pipx.
Sharp Edges
Which Python?
By default, pipx uses its own Python for each environment that it creates. Normally, this would be the system Python, whatever it was when you installed pipx. However, when your are using a pipx-in-pipx-installed pipx, the default Python that pipx uses for each environment it creates is instead whatever Python you used to “install” pipx-in-pipx.
This has two notable side effects:
If you uninstall your pipx-managed pipx, then all of the tools that you installed using that pipx will stop working because their Pythons suddenly point to nothing.
If you want to change the Python used by all of your pipx-managed tools, you only need to reinstall one of them (pipx) rather than reinstalling all of them.
Uninstalling
pipx has a handy feature to uninstall all pipx-managed tools. Because you have now made pipx manage itself, running pipx uninstall-all will also uninstall pipx.
This is not a bug, but a feature. By installing pipx using pipx-in-pipx, you have expressed an intent that you want pipx to manage itself. If that’s not what you want, this is not the tool for you.
If you at any point uninstall your pipx-managed pipx, you can simply pip install pipx-in-pipx again to rebuild it.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache 2.0)
- Author: Matt Bullock
- Maintainer: Matt Bullock
- Tags pipipxx, pipx
Classifiers
- Development Status
- Intended Audience
- License
- Natural Language
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pipipxx-1.0.1.tar.gz
.
File metadata
- Download URL: pipipxx-1.0.1.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89ea70e1d80a9763ad298b4b632d5d1634ee14933b474494f4220eca46b5388c |
|
MD5 | bcdfcc1c02fc5555fa124b4eafcc4581 |
|
BLAKE2b-256 | f9272645f0f071d5a52e6ff7be5bd4b5603c153c0dcf0ff9d4f4975ed2d626ee |