[Distutils] How suppress warning message? (about nonstandard install path)

Thomas Heller theller at python.net
Wed Oct 22 03:25:54 EDT 2003

seberino at spawar.navy.mil writes:

> I reset prefix to something else and happily installed
> everything fine.  There is a warning message at end of
> installation about path not being in sys.path.
> Can I remove this warning somehow??

Insert your installation path into sys.path before running install,
and remove it again after the install is finished.
bdist_wininst.py does this, near line 128.


More information about the Distutils-SIG mailing list