Skip to content

Commit a08f000

Browse files
committed
Add auto-py-to-exe linux and fix
1 parent c8be528 commit a08f000

2 files changed

Lines changed: 135 additions & 1 deletion

File tree

automation_editor/extend/process_executor/task_process_manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ def start_test_process(self, package: str, exec_str: str):
6161
exec_str
6262
]
6363
if sys.platform not in ["win32", "cygwin", "msys"]:
64-
args = " ".join(args)
64+
args = " ".join([f"{self.compiler_path}", f"-m {package}", "--execute_str", f"{exec_str}"])
65+
print(args)
6566
self.process: subprocess.Popen = subprocess.Popen(
6667
args,
6768
stdout=subprocess.PIPE,
Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
{
2+
"version": "auto-py-to-exe-configuration_v1",
3+
"pyinstallerOptions": [
4+
{
5+
"optionDest": "noconfirm",
6+
"value": true
7+
},
8+
{
9+
"optionDest": "filenames",
10+
"value": "/home/jeffrey/Projects/AutomationIDE/exe/start_automation_editor.py"
11+
},
12+
{
13+
"optionDest": "onefile",
14+
"value": false
15+
},
16+
{
17+
"optionDest": "console",
18+
"value": false
19+
},
20+
{
21+
"optionDest": "icon_file",
22+
"value": "/home/jeffrey/Projects/AutomationIDE/exe/je_driver_icon.ico"
23+
},
24+
{
25+
"optionDest": "name",
26+
"value": "AutomationIDE"
27+
},
28+
{
29+
"optionDest": "clean_build",
30+
"value": false
31+
},
32+
{
33+
"optionDest": "strip",
34+
"value": false
35+
},
36+
{
37+
"optionDest": "noupx",
38+
"value": false
39+
},
40+
{
41+
"optionDest": "disable_windowed_traceback",
42+
"value": false
43+
},
44+
{
45+
"optionDest": "uac_admin",
46+
"value": false
47+
},
48+
{
49+
"optionDest": "uac_uiaccess",
50+
"value": false
51+
},
52+
{
53+
"optionDest": "argv_emulation",
54+
"value": false
55+
},
56+
{
57+
"optionDest": "bootloader_ignore_signals",
58+
"value": false
59+
},
60+
{
61+
"optionDest": "datas",
62+
"value": "/home/jeffrey/Projects/AutomationIDE/exe/je_driver_icon.ico:."
63+
},
64+
{
65+
"optionDest": "datas",
66+
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/yapf_third_party:yapf_third_party/"
67+
},
68+
{
69+
"optionDest": "datas",
70+
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/jupyter_client:jupyter_client/"
71+
},
72+
{
73+
"optionDest": "datas",
74+
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/jupyter_client-8.3.1.dist-info:jupyter_client-8.3.1.dist-info/"
75+
},
76+
{
77+
"optionDest": "datas",
78+
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/jupyter_core-5.3.1.dist-info:jupyter_core-5.3.1.dist-info/"
79+
},
80+
{
81+
"optionDest": "datas",
82+
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/jupyter_core:jupyter_core/"
83+
},
84+
{
85+
"optionDest": "datas",
86+
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/qtconsole-5.4.4.dist-info:qtconsole-5.4.4.dist-info/"
87+
},
88+
{
89+
"optionDest": "datas",
90+
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/qtconsole:qtconsole/"
91+
},
92+
{
93+
"optionDest": "datas",
94+
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/ipython-8.15.0.dist-info:ipython-8.15.0.dist-info/"
95+
},
96+
{
97+
"optionDest": "datas",
98+
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/IPython:IPython/"
99+
},
100+
{
101+
"optionDest": "datas",
102+
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/debugpy/_vendored/pydevd/pydev_ipython:pydev_ipython/"
103+
},
104+
{
105+
"optionDest": "datas",
106+
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/ipython_genutils-0.2.0.dist-info:ipython_genutils-0.2.0.dist-info/"
107+
},
108+
{
109+
"optionDest": "datas",
110+
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/ipython_genutils:ipython_genutils/"
111+
},
112+
{
113+
"optionDest": "datas",
114+
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/debugpy:debugpy/"
115+
},
116+
{
117+
"optionDest": "datas",
118+
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/parso:parso/"
119+
},
120+
{
121+
"optionDest": "datas",
122+
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/jedi:jedi/"
123+
},
124+
{
125+
"optionDest": "pathex",
126+
"value": "/home/jeffrey/Projects/AutomationIDE"
127+
}
128+
],
129+
"nonPyinstallerOptions": {
130+
"increaseRecursionLimit": true,
131+
"manualArguments": ""
132+
}
133+
}

0 commit comments

Comments
 (0)