File tree Expand file tree Collapse file tree 7 files changed +8
-14
lines changed
Expand file tree Collapse file tree 7 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 4040 python -m venv .venv
4141 call .venv\Scripts\activate.bat
4242 python -m pip install --upgrade setuptools pip build
43- python -m pip install -r requirements.txt
43+ python -m pip install -r ./os_specific/windows/ requirements.txt
4444 shell : cmd
4545
4646 - name : Download Inno Setup installer
@@ -101,7 +101,7 @@ jobs:
101101 python -m venv .venv
102102 source .venv/bin/activate
103103 python -m pip install wheel setuptools
104- python -m pip install -r requirements.txt
104+ python -m pip install -r ./os_specific/macos/ requirements.txt
105105
106106 - name : Build app package
107107 run : |
@@ -143,7 +143,7 @@ jobs:
143143 python -m venv .venv
144144 source .venv/bin/activate
145145 python -m pip install wheel setuptools
146- python -m pip install -r requirements.txt
146+ python -m pip install -r ./os_specific/linux/ requirements.txt
147147
148148 - name : Build app package
149149 run : |
Original file line number Diff line number Diff line change @@ -96,5 +96,5 @@ def setup_based_build(self) -> None:
9696
9797def build () -> None :
9898 """Builds the EXE file but based on the setup.py for cx_freeze."""
99- tmp_build_macos_exe = BuildExe ()
100- tmp_build_macos_exe .setup_based_build ()
99+ tmp_builder = BuildExe ()
100+ tmp_builder .setup_based_build ()
Original file line number Diff line number Diff line change @@ -75,7 +75,9 @@ def invalid_platform() -> int:
7575 PROJECT_ROOT_DIR / "os_specific/macos"
7676 )
7777elif __linux__ :
78- PYMOL_PACKAGE_DIR = "No path set!" # TODO: Add the correct path
78+ PYMOL_PACKAGE_DIR = pathlib .Path (
79+ PROJECT_ROOT_DIR / f".venv/lib/python{ PYTHON_VERSION } /site-packages/pymol"
80+ )
7981 OS_SPECIFIC_DIR = pathlib .Path (
8082 PROJECT_ROOT_DIR / "os_specific/linux"
8183 )
File renamed without changes.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments