diff options
author | Simon Glass <sjg@chromium.org> | 2020-08-05 13:27:48 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-08-22 08:53:38 -0600 |
commit | 946ec8503737e4d9b2e9474939312c393ca092c0 (patch) | |
tree | 8d4eaa8877cb44cc7dc8036c4f8898545016841c /tools | |
parent | 07237988dcf88366ce4182eceac698cf1e97afc5 (diff) |
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.py | 12 |
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']) |