updated build workflow for software and documentation

This commit is contained in:
Sebastian Wendel 2022-12-17 20:35:19 +01:00
parent ab330052e3
commit 3326abe8b9
No known key found for this signature in database
GPG key ID: 1422B7DF78144640

View file

@ -26,23 +26,23 @@ classifiers = [
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
]
dependencies = [
"Adafruit-Blinka~=6.15.0",
"adafruit-circuitpython-motor~=3.3.1",
"adafruit-circuitpython-motorkit~=1.6.3",
"Adafruit-PlatformDetect~=3.17.2",
"Adafruit-SSD1306~=1.6.2",
"loguru~=0.5.3",
"matplotlib~=3.5.0",
"morphocut~=0.1.2",
"numpy~=1.21.4",
"opencv-contrib-python~=4.5.3.56",
"paho-mqtt~=1.6.1",
"picamera~=1.13",
"paho-mqtt>=1.6.1",
"loguru>=0.5.3",
"matplotlib>=3.5.0",
"morphocut>=0.1.2",
"numpy>=1.21.4",
"opencv-contrib-python>=4.5.3.56",
"scikit-image>=0.18.3",
"scipy>=1.7.2",
"smbus2>=0.4.1",
"Adafruit-Blinka>=6.15.0",
"adafruit-circuitpython-motor>=3.3.1",
"adafruit-circuitpython-motorkit>=1.6.3",
"Adafruit-PlatformDetect>=3.17.2",
"picamerax~=21.9.8",
"RPi.GPIO~=0.7.1a4",
"scikit-image~=0.18.3",
"scipy~=1.7.2",
"smbus2~=0.4.1",
"Adafruit-SSD1306~=1.6.2",
# "RPi.GPIO>=0.7.1a4",
# "picamera~=1.13",
]
dynamic = ["version"]
@ -53,7 +53,7 @@ Issues = "https://github.com/PlanktoScope/PlanktoScope/issues"
Source = "https://github.com/PlanktoScope/PlanktoScope"
[project.scripts]
planktoscope = "pkg.planktoscope:main"
planktoscope = "pkg.planktoscope_backend:main"
[tool.hatch.version]
source = "vcs"
@ -99,7 +99,7 @@ dependencies = [
]
[tool.hatch.envs.test.scripts]
cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=scripts/planktoscope --cov=tests {args}"
cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=software/planktoscope-backend --cov=tests {args}"
no-cov = "cov --no-cov {args}"
[[tool.hatch.envs.test.matrix]]