[Distutils] I think I need more detail in the build directory

M.-A. Lemburg mal@lemburg.com
Mon Nov 18 09:50:02 2002


Jack Jansen wrote:
> 
> On zondag, nov 17, 2002, at 23:06 Europe/Amsterdam, M.-A. Lemburg wrote:
> 
>>> Rather than trying to be clever here, why not add an option to
>> distutils to let the packager add an arbitrary directory name
>> extension to the build dir ?!
> 
> 
> You miss the point. The problem is not with specific packages, the 
> problem is general. The directory names within "build" are supposed to 
> be encoded in such a way that you can do "python setup.py build" with 
> two different pythons and the files created for the two pythons won't 
> conflict.
> 
> As it is now this works fine if the two pythons differ in version number 
> or if the two pythons are for different platforms. It does not work, 
> however, if the two pythons are the same version and run on the same 
> platform, but differ in another incompatible way.

And that's what you could put to work by specifying an option
which let's you introduce extra dir-name components, e.g.

	--build-dir-addon pydebug-nounicode

could generate:

	temp.linux-i686-2.1.pydebug-nounicode/

as temporary build dir.

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
_______________________________________________________________________
eGenix.com -- Makers of the Python mx Extensions: mxDateTime,mxODBC,...
Python Consulting:                               http://www.egenix.com/
Python Software:                    http://www.egenix.com/files/python/