File tree Expand file tree Collapse file tree 4 files changed +43
-17
lines changed
Expand file tree Collapse file tree 4 files changed +43
-17
lines changed Original file line number Diff line number Diff line change 55if __name__ == '__main__' :
66 pymol .launch (sys .argv )
77
8- # Coping startup_wrapper and OS specific build scripts into the application package
9- # <editor-fold desc="Definitions">
10- # startup_wrapper script
8+ # <editor-fold desc="Coping startup_wrapper script into the application package">
9+ # Definition
1110tmp_edited_startup_wrapper_py_filepath = pathlib .Path (
1211 const .PROJECT_ROOT_DIR / "edited/pymol" , "startup_wrapper.py"
1312)
1413
15- # OS specific build script
16- tmp_os_specific_build_exe_filepath = pathlib .Path (
17- const .OS_SPECIFIC_SETUP_BUILD_EXE
18- )
19- # </editor-fold>
20-
21- # <editor-fold desc="Copy">
22- # startup_wrapper script
14+ # Copy
2315shutil .copy (
2416 tmp_edited_startup_wrapper_py_filepath ,
2517 pathlib .Path (const .PYMOL_PACKAGE_DIR / "startup_wrapper.py" )
2618)
27-
28- # OS specific build script
29- shutil .copy (
30- tmp_os_specific_build_exe_filepath ,
31- pathlib .Path (const .PYMOL_PACKAGE_DIR / "setup_build_exe.py" )
32- )
3319# </editor-fold>
Original file line number Diff line number Diff line change 5454 }
5555 ],
5656)
57+
58+
59+ # <editor-fold desc="Coping Linux build script into the application package">
60+ # Definition
61+ tmp_os_specific_build_exe_filepath = pathlib .Path (
62+ const .OS_SPECIFIC_SETUP_BUILD_EXE
63+ )
64+
65+ # Copy
66+ shutil .copy (
67+ tmp_os_specific_build_exe_filepath ,
68+ pathlib .Path (const .PYMOL_PACKAGE_DIR / "setup_build_exe.py" )
69+ )
70+ # </editor-fold>
Original file line number Diff line number Diff line change 5959 }
6060 ],
6161)
62+
63+ # <editor-fold desc="Coping macOS build script into the application package">
64+ # Definition
65+ tmp_os_specific_build_exe_filepath = pathlib .Path (
66+ const .OS_SPECIFIC_SETUP_BUILD_EXE
67+ )
68+
69+ # Copy
70+ shutil .copy (
71+ tmp_os_specific_build_exe_filepath ,
72+ pathlib .Path (const .PYMOL_PACKAGE_DIR / "setup_build_exe.py" )
73+ )
74+ # </editor-fold>
Original file line number Diff line number Diff line change 5353 }
5454 ],
5555)
56+
57+ # <editor-fold desc="Coping Windows build script into the application package">
58+ # Definition
59+ tmp_os_specific_build_exe_filepath = pathlib .Path (
60+ const .OS_SPECIFIC_SETUP_BUILD_EXE
61+ )
62+
63+ # Copy
64+ shutil .copy (
65+ tmp_os_specific_build_exe_filepath ,
66+ pathlib .Path (const .PYMOL_PACKAGE_DIR / "setup_build_exe.py" )
67+ )
68+ # </editor-fold>
You can’t perform that action at this time.
0 commit comments