FROMLIST: binman: Add a setup script for Python

Allow binman to be installed by adding a suitable setup.py script.

BUG=chromium:1112434
TEST=emerge binman
See that it installs the libraries in
/usr/lib/python3.6/site-packages/binman and the tool can be run

Signed-off-by: Simon Glass <sjg@chromium.org>
Change-Id: I3fe8b5ba290ec69b5eecaa19f55576852f1a091f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/u-boot/+/2354366
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
diff --git a/tools/binman/setup.py b/tools/binman/setup.py
new file mode 100644
index 0000000..fe408ed
--- /dev/null
+++ b/tools/binman/setup.py
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0+
+
+from distutils.core import setup
+setup(name='binman',
+      version='1.0',
+      license='GPL-2.0+',
+      scripts=['binman'],
+      packages=['binman', 'binman.etype'],
+      package_dir={'binman': ''},
+      package_data={'binman': ['README', 'README.entries']},
+      classifiers=['Environment :: Console',
+                   'Topic :: Software Development :: Embedded Systems'])