distutils:How suppress warning message? (about nonstandard install path)

Ian Bicking ianb at colorstudy.com
Tue Oct 21 19:03:32 EDT 2003


On Tuesday, October 21, 2003, at 05:37 PM, Christian Seberino wrote:
> distutils question:
>
> I reset prefix to something else and happily installed
> everything a package I made fine.  There is a warning message at end of
> installation about prefix not being in sys.path.
>
> Can I remove this warning somehow??

warnings.filterwarnings('ignore', r'is not in sys.path')

--
Ian Bicking | ianb at colorstudy.com | http://blog.ianbicking.org






More information about the Python-list mailing list