Remove bin/
scripts, replace with poetry scripts section
This commit is contained in:
parent
e16370f371
commit
fffe27d877
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
from memberPlumbing import doorUpdater
|
||||
|
||||
doorUpdater.main()
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
from memberPlumbing import hidEvents
|
||||
|
||||
hidEvents.main()
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
from memberPlumbing import sqlExport
|
||||
|
||||
sqlExport.main()
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
from memberPlumbing import ucsAccounts
|
||||
|
||||
ucsAccounts.main()
|
@ -28,6 +28,12 @@ udm-rest-client = "^0.4.0"
|
||||
black = "^19.10b0"
|
||||
isort = "^4.3.21"
|
||||
|
||||
[tool.poetry.scripts]
|
||||
doorUpdater = 'memberPlumbing.doorUpdater:main'
|
||||
hidEvents = 'memberPlumbing.hidEvents:main'
|
||||
sqlExport = 'memberPlumbing.sqlExport:main'
|
||||
ucsAccounts = 'memberPlumbing.ucsAccounts:main'
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry>=0.12"]
|
||||
build-backend = "poetry.masonry.api"
|
||||
|
@ -7,4 +7,4 @@ User=adam
|
||||
Type=oneshot
|
||||
TimeoutStartSec=600
|
||||
WorkingDirectory=/home/adam/memberPlumbing/
|
||||
ExecStart=/usr/bin/python3 -u /home/adam/.poetry/bin/poetry run /home/adam/memberPlumbing/bin/doorUpdater
|
||||
ExecStart=/usr/bin/python3 -u /home/adam/.poetry/bin/poetry run doorUpdater
|
||||
|
@ -9,4 +9,4 @@ User=adam
|
||||
Type=oneshot
|
||||
TimeoutStartSec=600
|
||||
WorkingDirectory=/home/adam/memberPlumbing/
|
||||
ExecStart=/usr/bin/python3 -u /home/adam/.poetry/bin/poetry run /home/adam/memberPlumbing/bin/hidEvents
|
||||
ExecStart=/usr/bin/python3 -u /home/adam/.poetry/bin/poetry run hidEvents
|
||||
|
@ -9,4 +9,4 @@ User=adam
|
||||
Type=oneshot
|
||||
TimeoutStartSec=600
|
||||
WorkingDirectory=/home/adam/memberPlumbing/
|
||||
ExecStart=/usr/bin/python3 -u /home/adam/.poetry/bin/poetry run /home/adam/memberPlumbing/bin/sqlExport
|
||||
ExecStart=/usr/bin/python3 -u /home/adam/.poetry/bin/poetry run sqlExport
|
||||
|
Reference in New Issue
Block a user