Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux/AppImage: Install meson and ninja from PyPI #555

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions appimage/AppImageBuilder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ script:
- cp -r "$SOURCE_DIR/../lang" "$SOURCE_DIR/../icons" "$SOURCE_DIR"/../*.py "$TARGET_APPDIR/usr/src"
- cp "$SOURCE_DIR/pickaxe.png" "$TARGET_APPDIR/usr/share/icons/hicolor/128x128/apps/io.github.devilxd.twitchdropsminer.png"

# Create a virtual environment and install up-to-date versions of meson and ninja.
- python3 -m venv env && source ./env/bin/activate && python3 -m pip install meson ninja
# Install requirements.
- python3 -m pip install --ignore-installed --prefix=/usr --root="$TARGET_APPDIR" -r "$SOURCE_DIR/../requirements.txt" certifi
# Generate byte-code files beforehand, for slightly faster app startup.
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
aiohttp>=3.9,<4.0
Pillow
pystray
PyGObject<3.47; sys_platform == "linux" # required for better system tray support on Linux
PyGObject; sys_platform == "linux" # required for better system tray support on Linux

# environment-dependent dependencies
pywin32; sys_platform == "win32"
Expand Down