FS#21698 - [python-virtualenvwrapper] This package should tell us that it need some manual configuration

Attached to Project: Community Packages
Opened by Thomas Courbon (thcourbon) - Sunday, 14 November 2010, 19:20 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 15 November 2010, 22:02 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When installing python-virtualenvwrapper you need to add "source /usr/bin/virtualenvwrapper.sh" to ~/.bashrc.

Also you can create an executable virtualenvwrapper.sh that contains "source /usr/bin/virtualenvwrapper.sh" into /etc/profile.d/ for interactive login shell.

This currently has to be done manually, I think the package post_install could advertise that (or maybe someone with bashscripting skills I don't have could find some automated way to do it).

Additional info:
python-virtualenvwrapper 2.5.2-2

Steps to reproduce:
Just install, relaunch your virtual terminal or try to reconnect, and it don't work.
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Monday, 15 November 2010, 22:02 GMT
Reason for closing:  Won't implement
Additional comments about closing:  'Getting started' instructions can be found on the official website (and now on our Wiki too!).
Comment by Evangelos Foutras (foutrelis) - Monday, 15 November 2010, 12:53 GMT
You also need to set WORKON_HOME and create that directory. This information is available at http://www.doughellmann.com/docs/virtualenvwrapper/install.html#basic-installation. I'm not going to tell you how to use the software when comprehensive instructions exist on the project's website.

Think of it this way, only the person installing the package sees any messages I include with it. Why should we go out of our way to guide him, when he should be looking up that information on the official website, like any other user on the system?

I appreciate the well-written feature request, but I think I won't implement it.
Comment by Thomas Courbon (thcourbon) - Monday, 15 November 2010, 14:54 GMT
You score a point here :)

Still, i've created a page on the wiki for a quick start with link toward resource : http://wiki.archlinux.org/index.php/Python_VirtualEnv. I did so because I love the fact to have a lot of Arch Linuxified documentation at the same place. Maybe it will be useful to someone.
Comment by Evangelos Foutras (foutrelis) - Monday, 15 November 2010, 22:00 GMT
Great work on the wiki page. It serves as a nice introduction to virtualenv{,wrapper}. I liked it a lot. :)

Loading...