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

Bundle EchoAssist with python-appimage #36

Closed
arky opened this issue Mar 6, 2024 · 7 comments
Closed

Bundle EchoAssist with python-appimage #36

arky opened this issue Mar 6, 2024 · 7 comments

Comments

@arky
Copy link

arky commented Mar 6, 2024

It would be useful to bundle ecoassing with python-appimage to create an install AppRun file for gnu/Linux operating system. This might drive adoption with easy to install application.

@PetervanLunteren
Copy link
Owner

@arky That looks amazing! Most EcoAssist users are on either Windows (80%) or macOS (15%), and only a very small percentage is on Linux (5%). Would something like this be also available for Windows of macOS?

@arky
Copy link
Author

arky commented Mar 6, 2024

Currently Appimage is linux only.

Packaging for Windows and Mac requires different toolchains such as winsys and homebrew. Additionally you'll need to pay for certificates which costs money.

So I generally start with gnu/Linux and then explore other operating systems which resources become available.

@PetervanLunteren
Copy link
Owner

That makes sense. If you feel like you want to give it a try and open a PR, be my guest! I can put it on my TODO list, but I'll take some time before its done...

@arky
Copy link
Author

arky commented Mar 9, 2024

@PetervanLunteren It is possible to package for multiple platforms using BeeWare Briefcase, however you'll need to refactor the code and organize it as module so it easy to package.

@PetervanLunteren
Copy link
Owner

@arky Thanks for sharing. That is interesting. I've been planning to improve the installation process and this might be very valuable.

@arky
Copy link
Author

arky commented Mar 10, 2024

@PetervanLunteren if you move the default code base to src/ecoassist you should be able to build with briefcase run.

Here is example pyproject.toml

# This project was generated with 0.3.17 using template: https://github.com/beeware/[email protected]
[tool.briefcase]
project_name = "EcoAssist"
bundle = "com.addaxdatascience.ecoassist"
version = "0.0.1"
url = "https://addaxdatascience.com/ecoassist/"
license = "MIT license"
author = "Peter van Lunteren"
author_email = "[email protected]"

[tool.briefcase.app.ecoassist]
formal_name = "EcoAssist"
description = "EcoAssist is an application designed to streamline the work of ecologists dealing with camera trap images."
long_description = """More details about the app should go here.
"""
icon = "src/ecoassist/resources/ecoassist"
sources = [
    "src/ecoassist",
]
test_sources = [
    "tests",
]


@PetervanLunteren
Copy link
Owner

Thanks!

@PetervanLunteren PetervanLunteren closed this as not planned Won't fix, can't repro, duplicate, stale Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants