Added rescue to Poetry scripts
This commit is contained in:
parent
00d30d8e85
commit
1f0b90cff1
2 changed files with 6 additions and 3 deletions
|
|
@ -46,9 +46,7 @@ else:
|
||||||
logger.setLevel(logging.WARNING)
|
logger.setLevel(logging.WARNING)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
def main():
|
||||||
spoof = False
|
|
||||||
|
|
||||||
print()
|
print()
|
||||||
print(bcolors.HEADER + "OpenFlexure Rescue" + bcolors.ENDC)
|
print(bcolors.HEADER + "OpenFlexure Rescue" + bcolors.ENDC)
|
||||||
print()
|
print()
|
||||||
|
|
@ -88,3 +86,7 @@ if __name__ == "__main__":
|
||||||
print()
|
print()
|
||||||
for err in error_sources:
|
for err in error_sources:
|
||||||
print(err.message)
|
print(err.message)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,7 @@ rpi = ["RPi.GPIO"]
|
||||||
|
|
||||||
[tool.poetry.scripts]
|
[tool.poetry.scripts]
|
||||||
build_static = 'openflexure_microscope.install:build'
|
build_static = 'openflexure_microscope.install:build'
|
||||||
|
rescue = 'openflexure_microscope.rescue.auto:main'
|
||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
[tool.poetry.dev-dependencies]
|
||||||
pynpm = "^0.1.2"
|
pynpm = "^0.1.2"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue