Skip to content

Commit

Permalink
Read dependencies dynamically from requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
tekktrik committed Jun 28, 2022
1 parent 9b3c960 commit 53ac034
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
]
dependencies = [
"Adafruit-Blinka",
"adafruit-circuitpython-busdevice ~= 5.1",
]
dynamic = ["version"]
dynamic = ["version", "dependencies"]

[tool.setuptools]
py-modules = ["adafruit_bme680"]

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}

[tool.setuptools_scm]
6 changes: 6 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries
#
# SPDX-License-Identifier: Unlicense

Adafruit-Blinka
adafruit-circuitpython-busdevice

0 comments on commit 53ac034

Please sign in to comment.