Link for pipx <https://pypa.github.io/pipx/>

On Monday, February 6, 2023 at 5:33:37 PM UTC-5 Thomas Passin wrote:

> I just tried out pipx, which is a Python install program that wraps pip 
> such that for each installed package, it creates a separate virtual 
> environment, installs into that, and creates executables to launch each of 
> the entry points.  I believe that it installs basically similar to using 
> --editable with pip.  It also has some means of checking for updates from 
> time to time.
>
> I have avoided using virtual environments up until now, mostly because I 
> tend to forget what each of them were for.  Instead, I usually change 
> PYTHONPATH to point to different installations, like my git fork of Leo.  
> Pipx may finally make me more interested in venvs.
>
> To try it out, I installed Leo.  Of course, this installed the PyPi 
> version, 7.1.  I also installed the latest devel branch from github - it 
> had to install on top of the 7.1 version I had just installed.  It all 
> worked.  It takes a long time to download and install all the dependencies, 
> so have patience!
>
> By default, these venvs get installed into ~/.local/bin.  On Windows, it's 
> the equivalent: %USERPROFILE%\.local\bin.
>
> Pipx can also run a Python program from Pypi or some other source, without 
> "installing" it.  It silently creates a venv for the program, installs all 
> the dependencies, runs the program, and then deletes everything.  This lets 
> you try programs with permanently installing them and their dependencies.
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/ec48540b-6fee-4b1d-ab7c-5be993b46d57n%40googlegroups.com.
  • Pipx Thomas Passin
    • Re: Pipx Thomas Passin

Reply via email to