[Distutils] --build-base and install
Paul Moore
p.f.moore at gmail.com
Thu Jun 30 16:01:17 CEST 2005
On 6/30/05, Barry Warsaw <barry at python.org> wrote:
> I'm trying to build and install pysqlite-1.1.6 using --build-base,
> because I want the files created during the build to be placed in a
> specific directory outside the source directory.
>
> --build-base works just fine with the 'build' command, but not at all
> with the 'install' command. How is 'install' supposed to find the files
> that 'build' placed elsewhere? Is the lack of --build-base support a
> problem with pysqlite's setup.py script or a more fundamental problem
> with distutils? Or am I just being dense?
>
> FTR: Python 2.4.1
Have you tried
python setup.py build --build-base=whatever install
?
I chain the commands like this to switch compilers on Windows (build
--compiler=mingw32 bdist_wininst) and it works fine for that.
Paul.
More information about the Distutils-SIG
mailing list