Skip to content

Commit 78009b5

Browse files
committed
added files to provisioner to make it work with python zipapp
1 parent 572d900 commit 78009b5

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

__init__.py

Whitespace-only changes.

provisioner.pyz

23 MB
Binary file not shown.

provisioner/__init__.py

Whitespace-only changes.

provisioner/__main__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/python3
2+
from jp import runjp
3+
4+
if __name__ == "__main__":
5+
runjp()

provisioner/jp.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/python3
2-
31
import sys
42
import pathlib
53
import yaml
@@ -208,7 +206,7 @@ def processWorklist(pdata,cmd):
208206
# Main
209207
#
210208

211-
def main():
209+
def runjp():
212210
print("Jane Element Configuration")
213211

214212
if len(sys.argv) != 3:
@@ -239,5 +237,4 @@ def main():
239237

240238
print("Complete.")
241239

242-
if __name__ == "__main__":
243-
main()
240+

provisioner/lib64

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)