Thomas Heller wrote:
> Paul Pogonyshev schrieb:
> > Hi,
> > 
> > Distutils create dynamic library for a C extension in `build/...'
> > directory.  This makes it impossible to run program without
> > installing it, which I find very important for developing.  Ideally,
> > process should look like this:
> > [...]
>
> What I do is to create a loader module named <extension>.py that  
> 'replaces' itself with the real extension, loading it via imp
> from the platform specific build directory that distutils creates.

This looks clever.  However, how do you make sure the module doesn't
get itself installed?  I.e. I'd not want this hack make it into the
installed copy, while it is perfectly OK for quick in-place builds
and tests.

Paul
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to