building inplace with numpy.distutils?

Hi (David)!
I am evaluating numpy.distutils as a build/install system for my project - is it possible to build the extension modules in-place so that the project can be used without installing it? A pointer to documentation concerning this would be handy... Currently I use a regular Makefile for the build, which works quite well, but is not very portable and does not solve the package installation.
Otherwise let me say that numpy.distutils work very well, much better than the plain old distutils.
Best regards, r.

Robert Cimrman wrote:
Hi (David)!
I am evaluating numpy.distutils as a build/install system for my project
- is it possible to build the extension modules in-place so that the
project can be used without installing it? A pointer to documentation concerning this would be handy... Currently I use a regular Makefile for the build, which works quite well, but is not very portable and does not solve the package installation.
Otherwise let me say that numpy.distutils work very well, much better than the plain old distutils.
In-place builds can be setup with the -i option:
python setup.py build_ext -i
I think it is a plain distutils option.
cheers,
David

David Cournapeau wrote:
Robert Cimrman wrote:
Hi (David)!
I am evaluating numpy.distutils as a build/install system for my project
- is it possible to build the extension modules in-place so that the
project can be used without installing it? A pointer to documentation concerning this would be handy... Currently I use a regular Makefile for the build, which works quite well, but is not very portable and does not solve the package installation.
Otherwise let me say that numpy.distutils work very well, much better than the plain old distutils.
In-place builds can be setup with the -i option:
python setup.py build_ext -i
I think it is a plain distutils option.
I have tried
python setup.py build --inplace
which did not work, and --help helped neither, that is why I asked here. But I was close :)
thank you! r.
participants (2)
-
David Cournapeau
-
Robert Cimrman