Lock picamera dependency to wheel

This commit is contained in:
Joel Collins 2020-05-15 17:14:49 +01:00
parent ff368c7fc9
commit 54ee94042d
2 changed files with 10 additions and 17 deletions

View file

@ -31,8 +31,7 @@ numpy = "1.18.2"
Pillow = "^5.4"
scipy = "1.4.1" # Exact version so we can guarantee a wheel
picamera = { git = "https://github.com/rwb27/picamera.git", branch = "master", optional = true } # Lens shading requires >1.14 or RWB fork, lens-shading branch.
"RPi.GPIO" = { version = "^0.6.5", optional = true }
"RPi.GPIO" = { version = "^0.6.5" }
pyserial = "^3.4" # Used for sangaboard (basic_serial_instrument) until we move to sangaboard pip library
python-dateutil = "^2.8"
@ -43,12 +42,10 @@ opencv-python-headless = [
]
labthings = "0.6.1"
pynpm = "^0.1.2"
picamera = {url = "https://github.com/rwb27/picamera/releases/download/v1.13.2b0/picamera-1.13.2b0-py3-none-any.whl" }
[tool.poetry.scripts]
build = 'openflexure_microscope.install:build'
[tool.poetry.extras]
rpi = ["picamera", "RPi.GPIO"]
build_static = 'openflexure_microscope.install:build'
[tool.poetry.dev-dependencies]
sphinxcontrib-httpdomain = "^1.7"