Respect Activated Virtualenv
Bug #530793 reported by
Paul McLanahan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DreamPie |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
The #! line in /usr/bin/dreampie in the debian package uses a specific path to python (/usr/bin/python). Were this changed to "/usr/bin/env python" it would respect the current default python in the path, which would allow dreampie to respect activated virtual environments created by the virtualenv tool. This would be very helpful when using dreampie to test or debug a project.
To post a comment you must log in.
According to the debian packaging policy, it is not advised. (See http:// www.debian. org/doc/ packaging- manuals/ python- policy/ ch-python. html#s- interpreter_ loc ). It will also probably require an ugly hack in setup.py.
So I prefer not to do it. You can always copy /usr/bin/dreampie into ~/bin and change there the starting line.
Thanks for the report!
Noam