[Distutils] Override default build dir from setup.py
PJ Eby
pje at telecommunity.com
Mon Dec 3 18:33:02 CET 2012
On Mon, Dec 3, 2012 at 2:05 AM, anatoly techtonik <techtonik at gmail.com> wrote:
> Hi,
>
> I disliked that setup.py creates its own temp directories without any
> private prefix, so I wanted to override this option in setup.py:
>
> $ setup.py build -h
> ...
> Options for 'build' command:
> --build-base (-b) base directory for build library
>
> And the only way I could find to do this is through setup.cfg:
> http://docs.python.org/2/distutils/configfile.html
>
> Is it really the case or I overlooked some essential documentation part?
There are user-level and global .cfg files as well:
http://docs.python.org/release/2.7/install/index.html#location-and-names-of-config-files
More information about the Distutils-SIG
mailing list