Skip to content

Commit b34f5fb

Browse files
committed
combining requirements into pyproject
1 parent 3eeb54e commit b34f5fb

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ exclude: '^docs/|/migrations/|devcontainer.json'
22
default_stages: [commit]
33

44
default_language_version:
5-
python: python3.11
5+
python: python3.12
66

77
repos:
88
- repo: https://github.com/pre-commit/pre-commit-hooks

pyproject.toml

+9-3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ classifiers = [
1414
"Programming Language :: Python :: 3",
1515
]
1616

17+
dependencies = [
18+
"pyserial>=3.5",
19+
"intelhex>=2.3.0",
20+
"pycrc>=0.10.0",
21+
"click>=8.0.0",
22+
"pandas>=2.2.0",
23+
"numpy>=1.26.0"
24+
]
25+
1726
[project.urls]
1827
repository='https://github.com/snhobbs/NXPISP'
1928
url='https://github.com/snhobbs/NXPISP'
@@ -29,9 +38,6 @@ include-package-data = true
2938
[tool.setuptools.packages.find]
3039
where = ["src", "src/isp_programmer"]
3140

32-
[tool.setuptools.dynamic]
33-
dependencies = {file = ["requirements.txt"]}
34-
3541
[build-system]
3642
requires = [
3743
"setuptools>=60",

requirements.txt

-8
This file was deleted.

0 commit comments

Comments
 (0)