Skip to content

Commit

Permalink
Add auto-py-to-exe linux and fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JE-Chen committed Sep 27, 2023
1 parent c8be528 commit a08f000
Show file tree
Hide file tree
Showing 2 changed files with 135 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ def start_test_process(self, package: str, exec_str: str):
exec_str
]
if sys.platform not in ["win32", "cygwin", "msys"]:
args = " ".join(args)
args = " ".join([f"{self.compiler_path}", f"-m {package}", "--execute_str", f"{exec_str}"])
print(args)
self.process: subprocess.Popen = subprocess.Popen(
args,
stdout=subprocess.PIPE,
Expand Down
133 changes: 133 additions & 0 deletions exe/auto_py_to_exe_setting_linux.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
{
"version": "auto-py-to-exe-configuration_v1",
"pyinstallerOptions": [
{
"optionDest": "noconfirm",
"value": true
},
{
"optionDest": "filenames",
"value": "/home/jeffrey/Projects/AutomationIDE/exe/start_automation_editor.py"
},
{
"optionDest": "onefile",
"value": false
},
{
"optionDest": "console",
"value": false
},
{
"optionDest": "icon_file",
"value": "/home/jeffrey/Projects/AutomationIDE/exe/je_driver_icon.ico"
},
{
"optionDest": "name",
"value": "AutomationIDE"
},
{
"optionDest": "clean_build",
"value": false
},
{
"optionDest": "strip",
"value": false
},
{
"optionDest": "noupx",
"value": false
},
{
"optionDest": "disable_windowed_traceback",
"value": false
},
{
"optionDest": "uac_admin",
"value": false
},
{
"optionDest": "uac_uiaccess",
"value": false
},
{
"optionDest": "argv_emulation",
"value": false
},
{
"optionDest": "bootloader_ignore_signals",
"value": false
},
{
"optionDest": "datas",
"value": "/home/jeffrey/Projects/AutomationIDE/exe/je_driver_icon.ico:."
},
{
"optionDest": "datas",
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/yapf_third_party:yapf_third_party/"
},
{
"optionDest": "datas",
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/jupyter_client:jupyter_client/"
},
{
"optionDest": "datas",
"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/"
},
{
"optionDest": "datas",
"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/"
},
{
"optionDest": "datas",
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/jupyter_core:jupyter_core/"
},
{
"optionDest": "datas",
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/qtconsole-5.4.4.dist-info:qtconsole-5.4.4.dist-info/"
},
{
"optionDest": "datas",
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/qtconsole:qtconsole/"
},
{
"optionDest": "datas",
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/ipython-8.15.0.dist-info:ipython-8.15.0.dist-info/"
},
{
"optionDest": "datas",
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/IPython:IPython/"
},
{
"optionDest": "datas",
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/debugpy/_vendored/pydevd/pydev_ipython:pydev_ipython/"
},
{
"optionDest": "datas",
"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/"
},
{
"optionDest": "datas",
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/ipython_genutils:ipython_genutils/"
},
{
"optionDest": "datas",
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/debugpy:debugpy/"
},
{
"optionDest": "datas",
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/parso:parso/"
},
{
"optionDest": "datas",
"value": "/home/jeffrey/Projects/AutomationIDE/venv/lib/python3.10/site-packages/jedi:jedi/"
},
{
"optionDest": "pathex",
"value": "/home/jeffrey/Projects/AutomationIDE"
}
],
"nonPyinstallerOptions": {
"increaseRecursionLimit": true,
"manualArguments": ""
}
}

0 comments on commit a08f000

Please sign in to comment.