[Numpy-discussion] building inplace with numpy.distutils?

Robert Cimrman cimrman3 at ntc.zcu.cz
Thu May 14 01:57:20 EDT 2009


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.



More information about the NumPy-Discussion mailing list