generated from ImperialCollegeLondon/pip-tools-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from ImperialCollegeLondon/fix-poetry
Fix issues when installing the package in macos and linux.
- Loading branch information
Showing
4 changed files
with
16 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,17 +18,25 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install poetry | ||
run: pipx install poetry==1.8.4 | ||
|
||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{matrix.python-version}} | ||
cache: poetry | ||
|
||
- name: Show Python Version | ||
run: python --version | ||
|
||
- name: Install Poetry | ||
uses: abatilo/[email protected] | ||
with: | ||
poetry-version: 1.2.2 | ||
- name: Install system dependencies in Linux | ||
if: runner.os == 'Linux' | ||
shell: bash | ||
run: | | ||
sudo apt update | ||
# Without this, PySide6 gives an ImportError | ||
sudo apt install libegl1 | ||
- name: Install dependencies | ||
run: poetry install | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
"""The entry point for the Bubble Analyser program.""" | ||
|
||
from .GUI_manual import main as gui_main | ||
|
||
if __name__ == "__main__": | ||
from .GUI_manual import main as gui_main | ||
|
||
gui_main() | ||
# default_main() |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.