summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-08-05 13:27:48 -0600
committerSimon Glass <sjg@chromium.org>2020-08-22 08:53:38 -0600
commit946ec8503737e4d9b2e9474939312c393ca092c0 (patch)
tree8d4eaa8877cb44cc7dc8036c4f8898545016841c /tools
parent07237988dcf88366ce4182eceac698cf1e97afc5 (diff)
downloadu-boot-946ec8503737e4d9b2e9474939312c393ca092c0.tar.gz
dtoc: Add a setup script for Python
Allow dtoc to be installed by adding a suitable setup.py script. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/dtoc/setup.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/dtoc/setup.py b/tools/dtoc/setup.py
new file mode 100644
index 0000000000..5e092fe087
--- /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'])