44requires = [
55 " setuptools>=51" ,
66 " wheel" ,
7- " setuptools_scm[toml]>=6.0,<7.0; python_version < \" 3.7\" " ,
8- " setuptools_scm[toml]>=7.0; python_version >= \" 3.7\" " ,
7+ " setuptools_scm>=7.0" ,
98]
109build-backend = " setuptools.build_meta"
1110
11+ [project ]
12+ name = " pyocd"
13+ description = " Cortex-M debugger for Python"
14+ readme = " README.md"
15+ requires-python = " >=3.8"
16+ license = { text = " Apache-2.0" }
17+ maintainers = [
18+ { name = " Chris Reed" , email = " chris.reed@arm.com" },
19+ ]
20+ keywords = [" embedded" , " debug" , " debugger" , " arm" , " gdb" , " gdbserver" , " flash" , " test" ]
21+ classifiers = [
22+ " Development Status :: 5 - Production/Stable" ,
23+ " Environment :: Console" ,
24+ " Intended Audience :: Developers" ,
25+ " Intended Audience :: Manufacturing" ,
26+ " Intended Audience :: Science/Research" ,
27+ " License :: OSI Approved :: Apache Software License" ,
28+ " Operating System :: MacOS :: MacOS X" ,
29+ " Operating System :: Microsoft :: Windows" ,
30+ " Operating System :: POSIX" ,
31+ " Operating System :: POSIX :: BSD" ,
32+ " Operating System :: POSIX :: Linux" ,
33+ " Programming Language :: Python" ,
34+ " Programming Language :: Python :: 3" ,
35+ " Programming Language :: Python :: 3.8" ,
36+ " Programming Language :: Python :: 3.9" ,
37+ " Programming Language :: Python :: 3.10" ,
38+ " Programming Language :: Python :: 3.11" ,
39+ " Programming Language :: Python :: 3.12" ,
40+ " Programming Language :: Python :: 3.13" ,
41+ " Topic :: Software Development" ,
42+ " Topic :: Software Development :: Debuggers" ,
43+ " Topic :: Software Development :: Embedded Systems" ,
44+ " Topic :: Software Development :: Testing" ,
45+ " Topic :: Utilities" ,
46+ ]
47+ dynamic = [" version" ]
48+ dependencies = [
49+ " capstone>=5.0,<6.0" ,
50+ " cmsis-pack-manager>=0.5.2,<1.0" ,
51+ " colorama<1.0" ,
52+ " hidapi>=0.10.1,<1.0; platform_system != 'Linux'" ,
53+ " importlib_metadata>=3.6" ,
54+ " importlib_resources" ,
55+ " intelhex>=2.0,<3.0" ,
56+ " intervaltree>=3.0.2,<4.0" ,
57+ " lark>=1.1.5,<2.0" ,
58+ " libusb-package>=1.0,<2.0" ,
59+ " natsort>=8.0.0,<9.0" ,
60+ " prettytable>=2.0,<4.0" ,
61+ " pyelftools<1.0" ,
62+ " pylink-square>=1.0,<2.0" ,
63+ " pyusb>=1.2.1,<2.0" ,
64+ " pyyaml>=6.0,<7.0" ,
65+ " six>=1.15.0,<2.0" ,
66+ " typing-extensions>=4.0,<5.0" ,
67+ ]
68+
69+ [project .optional-dependencies ]
70+ pemicro = [
71+ " pyocd_pemicro>=1.0.6" ,
72+ ]
73+ test = [
74+ " pytest>=6.2" ,
75+ " pytest-cov" ,
76+ " coverage" ,
77+ " flake8" ,
78+ " pylint" ,
79+ " tox" ,
80+ ]
81+
82+ [project .scripts ]
83+ pyocd = " pyocd.__main__:main"
84+ pyocd-gdbserver = " pyocd.tools.gdb_server:main"
85+
86+ [project .entry-points ."pyocd .probe" ]
87+ cmsisdap = " pyocd.probe.cmsis_dap_probe:CMSISDAPProbePlugin"
88+ jlink = " pyocd.probe.jlink_probe:JLinkProbePlugin"
89+ picoprobe = " pyocd.probe.picoprobe:PicoprobePlugin"
90+ remote = " pyocd.probe.tcp_client_probe:TCPClientProbePlugin"
91+ stlink = " pyocd.probe.stlink_probe:StlinkProbePlugin"
92+
93+ [project .entry-points ."pyocd .rtos" ]
94+ argon = " pyocd.rtos.argon:ArgonPlugin"
95+ freertos = " pyocd.rtos.freertos:FreeRTOSPlugin"
96+ rtx5 = " pyocd.rtos.rtx5:RTX5Plugin"
97+ threadx = " pyocd.rtos.threadx:ThreadXPlugin"
98+ zephyr = " pyocd.rtos.zephyr:ZephyrPlugin"
99+
100+ [project .urls ]
101+ Website = " https://pyocd.io/"
102+ Documentation = " https://pyocd.io//docs"
103+ Source = " https://github.com/pyocd/pyOCD"
104+ Issues = " https://github.com/pyocd/pyOCD/issues"
105+ Discussions = " https://github.com/pyocd/pyOCD/discussions"
106+ Releases = " https://github.com/pyocd/pyOCD/releases"
107+
108+ [tool .setuptools ]
109+ include-package-data = true
110+
111+ [tool .setuptools .packages .find ]
112+ include = [" pyocd*" ]
113+
114+ [tool .setuptools .package-data ]
115+ pyocd = [" debug/svd/svd_data.zip" ]
116+
117+ [tool .setuptools .cmdclass ]
118+ build_py = " pyocd._build.build_py"
119+ sdist = " pyocd._build.sdist"
120+
12121[tool .setuptools_scm ]
13122write_to = " pyocd/_version.py"
14123local_scheme = " dirty-tag"
@@ -20,19 +129,15 @@ junit_logging = "all"
20129log_level = " DEBUG"
21130
22131[tool .tox ]
23- legacy_tox_ini = """
24- [tox]
25- envlist = py37
26-
27- # Defaults for all test environments.
28- [testenv]
29- deps =
30- pytest
31- changedir = test
32- passenv = CI_JOBS
33- commands =
34- python automated_test.py -j4 -q
35- """
132+ requires = [" tox>=4" ]
133+
134+ [tool .tox .env .py ]
135+ deps = [" pytest" ]
136+ change_dir = " test"
137+ pass_env = [" CI_JOBS" ]
138+ commands = [
139+ [" python" , " automated_test.py" , " -j4" , " -q" ],
140+ ]
36141
37142[tool .mypy ]
38143files = " pyocd"
0 commit comments