Added extras group for Rpi installations

This commit is contained in:
Joel Collins 2019-12-10 16:53:43 +00:00
parent 3db99fee2f
commit 3a63f7d200
2 changed files with 57 additions and 82 deletions

View file

@ -26,15 +26,17 @@ license = "GPL-3.0"
python = "^3.6"
Flask = "^1.0"
pyyaml = "^3.13"
numpy = "1.16.4" # Exact version until we can guarantee a wheel
numpy = "^1.17.0"
Pillow = "^5.4"
openflexure-stage = "^0.2.1"
flask-cors = "^3.0"
scipy = "1.3.0" # Exact version until we can guarantee a wheel
picamera = { git = "https://github.com/rwb27/picamera.git", branch = "lens-shading", optional = true } # Lens shading requires >1.14 or RWB fork, lens-shading branch.
"RPi.GPIO" = { version = "^0.6.5", optional = true }
[tool.poetry.extras]
rpi = ["picamera", "RPi.GPIO"]
[tool.poetry.dev-dependencies]
sphinxcontrib-httpdomain = "^1.7"
rope = "^0.14.0"