Setting sys.path when building python
Brian Reynolds
reynolds at panix.com
Sun Aug 13 01:47:08 EDT 2000
I'm a python newbie so this may be trivially answered somewhere I
haven't had a chance to read yet.
As built out of the box (i.e., './configure; make; make test; make
install') the value of sys.path includes the current working directory
(i.e., '.'). On a multiuser OS this is a Bad Idea(tm).
I would like to build python so that the built in default value of
sys.path does not include the current working directory. How would I
go about doing this? I guess what I'm looking for is the source file
where sys.path is initialized when python is built.
--
Brian Reynolds | "Dee Dee! Don't touch that button!"
reynolds at panix.com | "Oooh!"
http://www.panix.com/~reynolds | -- Dexter and Dee Dee
NAR# 54438 | "Dexter's Laboratory"
More information about the Python-list
mailing list