[U-Boot] [RFC PATCH] patman: add distutils based installer

Otavio Salvador otavio.salvador at ossystems.com.br
Wed Jul 15 22:31:57 CEST 2015


On Wed, Jul 15, 2015 at 7:06 AM, Chris Packham <judge.packham at gmail.com> wrote:
> To make it easier to use patman on other projects add a distutils style
> installer. Now patman can be installed with
>
>   cd u-boot/tools/patman && python setup.py install
>
> There are also the usual distutils options for creating source/binary
> distributions of patman.
>
> Signed-off-by: Chris Packham <judge.packham at gmail.com>
> ---
> I've been playing with using patman for Linux development and it
> occurred to me that patman should really be something that lives on my
> default $PATH.
>
> It's simple enough to create a distutils configuration that makes this a
> reality.
>
> One thing that would make sense for this is to make patman a python
> package to avoid polluting site-packages with generic names like 'test'
> and 'command'. With a little restructuring it would probably be possible
> to setup something that works both as an installable package and in-tree
> as it does today. But before I go down that path I wanted to see if
> there was a desire for such packaging or do people just add
> u-boot/tools/patman to their $PATH.

yes, please!


-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the U-Boot mailing list