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

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

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