David Brown | 79c4fcf | 2021-01-26 15:04:05 -0700 | [diff] [blame] | 1 | # SPDX-License-Identifier: Apache-2.0 |
| 2 | |
Fabio Utzig | e89841d | 2018-12-21 11:19:06 -0200 | [diff] [blame] | 3 | import setuptools |
Fabio Utzig | 25c6a15 | 2019-09-10 12:52:26 -0300 | [diff] [blame] | 4 | from imgtool import imgtool_version |
Fabio Utzig | e89841d | 2018-12-21 11:19:06 -0200 | [diff] [blame] | 5 | |
| 6 | setuptools.setup( |
| 7 | name="imgtool", |
Fabio Utzig | 25c6a15 | 2019-09-10 12:52:26 -0300 | [diff] [blame] | 8 | version=imgtool_version, |
Sam Bristow | d0ca0ff | 2019-10-30 20:51:35 +1300 | [diff] [blame] | 9 | author="The MCUboot committers", |
Fabio Utzig | 37dec81 | 2020-08-17 12:05:52 -0300 | [diff] [blame] | 10 | author_email="mcuboot@groups.io", |
Fabio Utzig | e89841d | 2018-12-21 11:19:06 -0200 | [diff] [blame] | 11 | description=("MCUboot's image signing and key management"), |
| 12 | license="Apache Software License", |
Fabio Utzig | de1d72d | 2020-11-10 12:35:04 -0300 | [diff] [blame] | 13 | url="http://github.com/mcu-tools/mcuboot", |
Fabio Utzig | e89841d | 2018-12-21 11:19:06 -0200 | [diff] [blame] | 14 | packages=setuptools.find_packages(), |
David Vincze | 71b8f98 | 2020-03-17 19:08:12 +0100 | [diff] [blame] | 15 | python_requires='>=3.6', |
Fabio Utzig | e89841d | 2018-12-21 11:19:06 -0200 | [diff] [blame] | 16 | install_requires=[ |
| 17 | 'cryptography>=2.4.2', |
| 18 | 'intelhex>=2.2.1', |
| 19 | 'click', |
Ross Burton | a6df132 | 2021-11-02 11:12:04 +0000 | [diff] [blame^] | 20 | 'cbor2', |
Fabio Utzig | e89841d | 2018-12-21 11:19:06 -0200 | [diff] [blame] | 21 | ], |
| 22 | entry_points={ |
| 23 | "console_scripts": ["imgtool=imgtool.main:imgtool"] |
| 24 | }, |
| 25 | classifiers=[ |
| 26 | "Programming Language :: Python :: 3", |
| 27 | "Development Status :: 4 - Beta", |
| 28 | "Topic :: Software Development :: Build Tools", |
| 29 | "License :: OSI Approved :: Apache Software License", |
| 30 | ], |
| 31 | ) |