[Distutils] sandbox trying to run things before they're installed...again?

Phillip J. Eby pje at telecommunity.com
Tue Mar 7 20:55:05 CET 2006

At 11:36 AM 3/7/2006 -0800, Ben Bangert wrote:
>I think I had this problem earlier, and it went away, but now its
>back for some reason. Several users have reported it to me as well.
>Apparently the sandbox testing runs, and tries to import a package
>that wasn't installed yet. Is there anyway to make it actually
>install dependencies *before* doing its sandbox stuff?

No; the setup script has to be run in order to find out what the 
dependencies are.

Note that as a general rule, distutils setup scripts shouldn't import the 
code they're trying to install.  It tends to lead to problems on users' 
machines that don't show up on the developer's machine.

More information about the Distutils-SIG mailing list