Has anyone tried anything that involves setting the distutils options 
(e.g., where to install libraries) from sitecustomize or some other 
Python location?  I want to put in logic that is more complex than can 
be expressed in a configuration file.  Setuptools-specific is a-ok too. 
  Monkeypatching distutils doesn't particularly bother me in this case 
either.  Though that's not great either (if it goes in sitecustomize), 
since it means that there's an overhead to every Python startup to load 
distutils and patch it, even if distutils wouldn't have otherwise loaded.

Jim Fulton asked about something similar on IRC too -- actually about 
having an easy_install binary that installed to a different location 
than normal (to the Zope instance path).  Similar in that however such a 
script might work it might need to do similar things, setting distutils 
options at runtime.

-- 
Ian Bicking  /  [EMAIL PROTECTED]  /  http://blog.ianbicking.org
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to