[PATCH 3/4] dtoc: Add a setup script for Python

Simon Glass sjg at chromium.org
Wed Aug 5 21:27:48 CEST 2020


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

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/dtoc/setup.py | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 tools/dtoc/setup.py

diff --git a/tools/dtoc/setup.py b/tools/dtoc/setup.py
new file mode 100644
index 00000000000..5e092fe0872
--- /dev/null
+++ b/tools/dtoc/setup.py
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0+
+
+from distutils.core import setup
+setup(name='dtoc',
+      version='1.0',
+      license='GPL-2.0+',
+      scripts=['dtoc'],
+      packages=['dtoc'],
+      package_dir={'dtoc': ''},
+      package_data={'dtoc': ['README']},
+      classifiers=['Environment :: Console',
+                   'Topic :: Software Development :: Embedded Systems'])
-- 
2.28.0.163.g6104cc2f0b6-goog



More information about the U-Boot mailing list