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