[Distutils] Plans for a build command or --user support for pysetup3?

Brett Cannon brett at python.org
Thu Sep 8 19:50:08 CEST 2011


http://bugs.python.org/issue12937 has the feature request.

On Tue, Sep 6, 2011 at 08:17, Éric Araujo <merwok at netwok.org> wrote:
> Hi Brett,
>
>> Two things that I missed was wanting a build command
> A clarification: In distutils2, there is a difference between commands
> (build, sdist, upload, i.e. similar to distutils commands) and actions
> (metadata, list, search, run).  The pysetup install action is a
> high-level interface to install a remote or local project.  If you’re
> using it on a local setup.cfg-based project, then it will call the build
> and install commands.
>
> Now to answer your question: To call a command, use the run action:
>   $ pysetup run build
>
>> --user suport for install.
> I’ve been surprised to discover that the install action lacks options to
> control the target directory.  It’s probably because the action is not
> complete yet.  IMO, we should support --user, --prefix, --home and all
> other options supported by the install command itself.  I intended to
> open a feature request for that; feel free to do it.
>
> Regards
>


More information about the Distutils-SIG mailing list