binman: Add a setup script for Python
authorSimon Glass <sjg@chromium.org>
Wed, 5 Aug 2020 19:27:49 +0000 (13:27 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 22 Aug 2020 14:53:38 +0000 (08:53 -0600)
Allow binman to be installed by adding a suitable setup.py script.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/setup.py [new file with mode: 0644]

diff --git a/tools/binman/setup.py b/tools/binman/setup.py
new file mode 100644 (file)
index 0000000..fe408ed
--- /dev/null
@@ -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'])