To make it easier to use patman on other projects add a distutils style installer. Now patman can be installed with cd u-boot/tools/patman && python setup.py install There are also the usual distutils options for creating source/binary distributions of patman. Tested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Chris Packham <judge.packham@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>master
parent
1ed6648be0
commit
488d19cbca
@ -0,0 +1,3 @@ |
||||
__all__ = ['checkpatch', 'command', 'commit', 'cros_subprocess', |
||||
'get_maintainer', 'gitutil', 'patchstream', 'project', |
||||
'series', 'settings', 'terminal', 'test'] |
@ -0,0 +1,13 @@ |
||||
# |
||||
# SPDX-License-Identifier: GPL-2.0+ |
||||
# |
||||
from distutils.core import setup |
||||
setup(name='patman', |
||||
version='1.0', |
||||
license='GPL-2.0+', |
||||
scripts=['patman'], |
||||
packages=['patman'], |
||||
package_dir={'patman': ''}, |
||||
package_data={'patman': ['README']}, |
||||
classifiers=['Environment :: Console', |
||||
'Topic :: Software Development']) |
Loading…
Reference in new issue