On Mon, Dec 3, 2012 at 8:33 PM, PJ Eby <[email protected]> wrote:

> On Mon, Dec 3, 2012 at 2:05 AM, anatoly techtonik <[email protected]>
> 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
>

For the history - there is a way to override setup.py command defaults as
it was found out by Jeremy Kloth:

    setup(options={'build': {'build_base': 'path/to/build/outputs'}},...)

Freshly related issue http://bugs.python.org/issue16729
-- 
anatoly t.
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to