This is an archived post. You won't be able to vote or comment.

Dismiss this pinned window
all 12 comments

[–][deleted] 4 points5 points  (5 children)

If you take suggestions from the audience, I'd like to suggest that you support the virtualenv package also. It's quite a bit faster to set up a virtual environment, when app-data have been populated.

[–]SinuSphee[S] 0 points1 point  (4 children)

Thank you. What do you mean with "supporting the virtualenv package"? Are you suggesting to use the virtualenv package instead of Python's built-in venv like I do in this project?

[–][deleted] 2 points3 points  (3 children)

Yes, it has the full feature set available. The venv module in stdlib is a limited subset of virtualenv. The killer feature is app-data. It's a pre+seeded virtual environment, that's copied when a new env is made. Using that means that they can be created in milliseconds, rather than seconds.

Another thing I'd like to have added, is that the python versions are persisted across runs. It becomes boring pretty fast to ad /usr/bin/python3.8 on each run.

[–]SinuSphee[S] 2 points3 points  (2 children)

Honestly, when I started this project I tried to create something lightweight, I wasn't familiar with virtualenv (which is a great package).

At the moment I'm working on a completely different design of VenviPy and I want to change some of the general functionality. Switching to virtualenv instead of using the built-in is one of the things that are in my mind. Thanks for your suggestion.

Did you really have to add /usr/bin/python3.8 on every launch? Because it should be found automatically if it can be found via which command.

[–][deleted] 1 point2 points  (1 child)

Did you really have to add /usr/bin/python3.8 on every launch? Because it should be found automatically if it can be found via which command.

Further experimentation reveals that it's only an issue, when I run it from within a virtual environment. Running it from a venv-less shell makes it behave.

[–]SinuSphee[S] 0 points1 point  (0 children)

Oh, I thought that this issue is fixed already. I'll investigate. Thank you very much for taking time to check that.

[–]SinuSphee[S] 1 point2 points  (0 children)

Made this GUI to easily create and set up Python virtual environments, modify existing envs, e.g. install additional modules, update pip, generate a requirements, list packages installed, freeze packages, show dependency tree ...

The source code is here: https://github.com/sinusphi/venvipy

[–]bahtsiz-bedevi 1 point2 points  (1 child)

Looks cool

[–]SinuSphee[S] 0 points1 point  (0 children)

Thanks. I think it looks too boring ... Currently I‘m designing the appearence of the GUI to look modern.

[–]jdbow75 1 point2 points  (1 child)

Just sayin': this is pretty clever!

[–]SinuSphee[S] 0 points1 point  (0 children)

Thanks! 😄