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>
This commit is contained in:
Simon Glass 2020-08-05 13:27:48 -06:00
parent 07237988dc
commit 946ec85037

12
tools/dtoc/setup.py Normal file
View File

@ -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'])