[Distutils] c extensions: how to rebuild and test quickly
pogonyshev at gmx.net
Thu Feb 15 00:30:10 CET 2007
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:
edit Python code -> test (uninstalled);
edit C code -> ./setup.by build -> test (uninstalled).
This is all possible if I create a symbolic link from build
directory to the sources. Then extension module can be imported
normally and everything is like it was with all code limited to
Is it possible in some standard (and preferably portable) way with
distutils? Is it already done?
More information about the Distutils-SIG