diff options
author | Chris Packham <judge.packham@gmail.com> | 2015-07-22 21:21:46 +1200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-07-28 10:36:25 -0600 |
commit | 488d19cbcace0b87a2d08881eab7356088198903 (patch) | |
tree | f9281221aab01bd319535e2c9f2b24d892c93e67 /tools/patman/setup.py | |
parent | 1ed6648be08e4da76a08a09317932c73db0745ff (diff) | |
download | u-boot-488d19cbcace0b87a2d08881eab7356088198903.tar.gz |
patman: add distutils based installer
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.
Tested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/setup.py')
-rw-r--r-- | tools/patman/setup.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/patman/setup.py b/tools/patman/setup.py new file mode 100644 index 0000000000..e61804f178 --- /dev/null +++ b/tools/patman/setup.py @@ -0,0 +1,13 @@ +# +# SPDX-License-Identifier: GPL-2.0+ +# +from distutils.core import setup +setup(name='patman', + version='1.0', + license='GPL-2.0+', + scripts=['patman'], + packages=['patman'], + package_dir={'patman': ''}, + package_data={'patman': ['README']}, + classifiers=['Environment :: Console', + 'Topic :: Software Development']) |