| 1 |
[metadata] |
| 2 |
name = pyocd |
| 3 |
description = Cortex-M debugger for Python |
| 4 |
long_description = file: README.md |
| 5 |
long_description_content_type = text/markdown |
| 6 |
maintainer = Chris Reed |
| 7 |
maintainer_email = [email protected] |
| 8 |
url = https://github.com/pyocd/pyOCD |
| 9 |
keywords = embedded, debug, debugger, arm, gdb, gdbserver, flash, test |
| 10 |
license = Apache 2.0 |
| 11 |
classifiers = |
| 12 |
Development Status :: 5 - Production/Stable |
| 13 |
Environment :: Console |
| 14 |
Intended Audience :: Developers |
| 15 |
Intended Audience :: Manufacturing |
| 16 |
Intended Audience :: Science/Research |
| 17 |
License :: OSI Approved :: Apache Software License |
| 18 |
Operating System :: MacOS :: MacOS X |
| 19 |
Operating System :: Microsoft :: Windows |
| 20 |
Operating System :: POSIX |
| 21 |
Operating System :: POSIX :: BSD |
| 22 |
Operating System :: POSIX :: Linux |
| 23 |
Programming Language :: Python |
| 24 |
Programming Language :: Python :: 3 |
| 25 |
Programming Language :: Python :: 3.9 |
| 26 |
Programming Language :: Python :: 3.10 |
| 27 |
Programming Language :: Python :: 3.11 |
| 28 |
Programming Language :: Python :: 3.12 |
| 29 |
Programming Language :: Python :: 3.13 |
| 30 |
Programming Language :: Python :: 3.14 |
| 31 |
Topic :: Software Development |
| 32 |
Topic :: Software Development :: Debuggers |
| 33 |
Topic :: Software Development :: Embedded Systems |
| 34 |
Topic :: Software Development :: Testing |
| 35 |
Topic :: Utilities |
| 36 |
project_urls = |
| 37 |
Website = https://pyocd.io/ |
| 38 |
Documentation = https://pyocd.io//docs |
| 39 |
Source = https://github.com/pyocd/pyOCD |
| 40 |
Issues = https://github.com/pyocd/pyOCD/issues |
| 41 |
Discussions = https://github.com/pyocd/pyOCD/discussions |
| 42 |
Releases = https://github.com/pyocd/pyOCD/releases |
| 43 |
|
| 44 |
[options] |
| 45 |
zip_safe = True |
| 46 |
include_package_data = True |
| 47 |
packages = find: |
| 48 |
python_requires = >=3.9.0 |
| 49 |
# Use hidapi on macOS and Windows, not needed on Linux. |
| 50 |
# |
| 51 |
# importlib_resources is used instead of stdlib importlib.resources because we |
| 52 |
# want the selectable entry_points API, which is not present until Python 3.10. |
| 53 |
install_requires = |
| 54 |
capstone>=5.0,<6.0 |
| 55 |
cmsis-pack-manager>=0.5.2,<1.0 |
| 56 |
colorama<1.0 |
| 57 |
hidapi>=0.10.1,<1.0; platform_system != "Linux" |
| 58 |
importlib_metadata>=3.6 |
| 59 |
importlib_resources |
| 60 |
intelhex>=2.0,<3.0 |
| 61 |
intervaltree>=3.0.2,<4.0 |
| 62 |
lark>=1.1.5,<2.0 |
| 63 |
libusb-package>=1.0,<2.0 |
| 64 |
natsort>=8.0.0,<9.0 |
| 65 |
prettytable>=2.0,<4.0 |
| 66 |
pyelftools<1.0 |
| 67 |
pylink-square>=1.0,<2.0 |
| 68 |
pyusb>=1.2.1,<2.0 |
| 69 |
pyyaml>=6.0,<7.0 |
| 70 |
typing-extensions>=4.0,<5.0 |
| 71 |
|
| 72 |
[options.extras_require] |
| 73 |
pemicro = |
| 74 |
pyocd_pemicro>=1.0.6 |
| 75 |
test = |
| 76 |
pytest>=6.2 |
| 77 |
pytest-cov |
| 78 |
coverage |
| 79 |
flake8 |
| 80 |
pylint |
| 81 |
tox |
| 82 |
|
| 83 |
[options.package_data] |
| 84 |
pyocd = |
| 85 |
debug/svd/svd_data.zip |
| 86 |
debug/sequences/default_sequences.yaml |
| 87 |
|
| 88 |
[options.entry_points] |
| 89 |
console_scripts = |
| 90 |
pyocd = pyocd.__main__:main |
| 91 |
|
| 92 |
# Keep deprecated tools for compatibility. |
| 93 |
pyocd-gdbserver = pyocd.tools.gdb_server:main |
| 94 |
|
| 95 |
pyocd.probe = |
| 96 |
cmsisdap = pyocd.probe.cmsis_dap_probe:CMSISDAPProbePlugin |
| 97 |
# jlink = pyocd.probe.jlink_probe:JLinkProbePlugin |
| 98 |
picoprobe = pyocd.probe.picoprobe:PicoprobePlugin |
| 99 |
remote = pyocd.probe.tcp_client_probe:TCPClientProbePlugin |
| 100 |
stlink = pyocd.probe.stlink_probe:StlinkProbePlugin |
| 101 |
|
| 102 |
pyocd.rtos = |
| 103 |
argon = pyocd.rtos.argon:ArgonPlugin |
| 104 |
freertos = pyocd.rtos.freertos:FreeRTOSPlugin |
| 105 |
rtx5 = pyocd.rtos.rtx5:RTX5Plugin |
| 106 |
threadx = pyocd.rtos.threadx:ThreadXPlugin |
| 107 |
zephyr = pyocd.rtos.zephyr:ZephyrPlugin |
| 108 |
|
| 109 |
[flake8] |
| 110 |
exclude = |
| 111 |
# Ignore the test user script since it uses globals not available to flake8, and will thus generate |
| 112 |
# many failures. |
| 113 |
test_user_script.py, |
| 114 |
# Ignore gdb test script for similar reasons. |
| 115 |
gdb_test_script.py |
| 116 |
|