Skip to content

Commit

Permalink
reorg requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
tannewt committed Oct 25, 2024
1 parent 074b966 commit 8237d3b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 53 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/python-package.yml

This file was deleted.

27 changes: 12 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,27 @@
#
# SPDX-License-Identifier: MIT

[build-system]
requires = [
"setuptools",
"wheel",
"setuptools-scm",
]

[project]
name = "circuitmatter"
version = "0.0.0+auto.0"
authors = [{name = "Scott Shawcroft", email = "[email protected]"}]
license = {file = "LICENSE"}
classifiers = ["License :: OSI Approved :: MIT License"]
dynamic = ["version", "description"]
requires-python = ">=3.11"
readme = "README.md"
dependencies = [
"cryptography",
"ecdsa",
"qrcode",
"Adafruit-Blinka"
]
dynamic = ["dependencies", "optional-dependencies"]

[project.urls]
Home = "https://github.com/adafruit/circuitmatter"
"Bug Tracker" = "https://github.com/adafruit/circuitmatter/issues"

[project.optional-dependencies]
test = [
"hypothesis",
"pytest",
"pytest-cov",
"typing_extensions",
]

[tool.coverage.run]
branch = true
source = [
Expand All @@ -40,3 +33,7 @@ source = [
pythonpath = [
"."
]

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
optional-dependencies = {test = {file = ["test-requirements.txt"]}}
8 changes: 8 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# SPDX-FileCopyrightText: Copyright (c) 2024 Scott Shawcroft for Adafruit Industries
#
# SPDX-License-Identifier: MIT

cryptography
ecdsa
qrcode
Adafruit-Blinka
8 changes: 8 additions & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# SPDX-FileCopyrightText: Copyright (c) 2024 Scott Shawcroft for Adafruit Industries
#
# SPDX-License-Identifier: MIT

hypothesis
pytest
pytest-cov
typing_extensions

0 comments on commit 8237d3b

Please sign in to comment.