Renamed Poetry project and fixed optional dependencies
This commit is contained in:
parent
2059cc0a55
commit
6d0f325165
2 changed files with 12 additions and 5 deletions
|
|
@ -3,7 +3,7 @@ requires = ["poetry>=0.12"]
|
|||
build-backend = "poetry.masonry.api"
|
||||
|
||||
[tool.poetry]
|
||||
name = "openflexure_microscope"
|
||||
name = "openflexure-microscope-server"
|
||||
version = "2.2.0-alpha"
|
||||
description = "Python module, and Flask-based web API, to run the OpenFlexure Microscope."
|
||||
|
||||
|
|
@ -31,7 +31,9 @@ numpy = "1.18.2"
|
|||
Pillow = "^5.4"
|
||||
scipy = "1.4.1" # Exact version so we can guarantee a wheel
|
||||
|
||||
"RPi.GPIO" = { version = "^0.6.5" }
|
||||
"RPi.GPIO" = { version = "^0.6.5", optional = true }
|
||||
picamera = {url = "https://github.com/rwb27/picamera/releases/download/v1.13.2b0/picamera-1.13.2b0-py3-none-any.whl", optional = true }
|
||||
|
||||
pyserial = "^3.4" # Used for sangaboard (basic_serial_instrument) until we move to sangaboard pip library
|
||||
|
||||
python-dateutil = "^2.8"
|
||||
|
|
@ -42,7 +44,9 @@ 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.extras]
|
||||
rpi = ["picamera", "RPi.GPIO"]
|
||||
|
||||
[tool.poetry.scripts]
|
||||
build_static = 'openflexure_microscope.install:build'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue