Le 21 août 2014 à 15:20, Michał Górny <[email protected]> a écrit :

> Use generated setup.cfg file to propagate install paths rather than
> passing them via command-line arguments whenever possible, making it
> possible to call special install commands without forcing the main
> 'install' command.
> 
> For example, if setup.py defines install_doc command that reuses prefix
> from install, to use it you'd have to call either:
> 
>  esetup.py install --root="${D}" install_doc
> 
> or:
> 
>  distutils-r1_python_install install_doc
> 
> both of them forcing (re-)install of the whole package implicitly.
> 
> Instead, we can reuse the setup.cfg file that was added specifically to
> solve a similar issue with build paths. Put the default root, byte-
> compilation options and script path (if applicable) there.
> distutils-r1_python_install still carries --root override for
> intermediate root install though.
> 
> Thanks to this, you can run the fore-mentioned command like this:
> 
>  esetup.py install_doc
> ---

Looks great.

-- 
Gilles Dartiguelongue <[email protected]>


Reply via email to