[Python-Dev] Python install layout and the PATH on win32 (Rationale part 1: Regularizing the layout) (original) (raw)

Nick Coghlan ncoghlan at gmail.com
Fri Mar 23 00:37:55 CET 2012


(resending, only sent to Van the first time)

FWIW, I avoid the directory naming problems Van describes entirely by including my "scripts" in the source package and running them with the "-m" switch.

So "python -m pulpdist.manage_site", for example, is PulpDist's Django administration client wrapper. I do it that way mainly to get sys.path right automatically, but it avoids several other installed vs checked out differences too.

-- Sent from my phone, thus the relative brevity :) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20120323/84ef789e/attachment.html>



More information about the Python-Dev mailing list