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 Packaging #22

Closed
TheLastProject opened this issue Sep 14, 2017 · 4 comments · Fixed by #31
Closed

Linux Packaging #22

TheLastProject opened this issue Sep 14, 2017 · 4 comments · Fixed by #31

Comments

@TheLastProject
Copy link
Member

TheLastProject commented Sep 14, 2017

Packaging Pext a bit better would be nice. It can already be installed under Linux just fine using setup.py, but on macOS, that support is very lacking. macOS support or maybe an AppImage or Snap or so would be awesome.

Edit: If you're here for Hacktoberfest, support for a single of the following formats would suffice:
macOS App
AppImage
Snap
Flatpak
Deb
RPM

Edit 2: title changed to Linux packaging because that's what's being done.

@TheAssassin
Copy link
Contributor

I might give an AppImage a try, mostly to improve our docs on packaging Python applications. You mentioned issues you experienced while packaging Pext using some of the Python tools. Could you elaborate a bit?

@TheLastProject
Copy link
Member Author

I never really managed to put time in AppImage. My issue with packaging Pext was mostly py2app not being able to create proper builds that can be installed as a .App, instead of only running in-place with the git repository still there.

@TheLastProject
Copy link
Member Author

Note to self for things I need to do for @TheAssassin's AppImage:

  • Replace git subprocess calls with Pygit2 because libgit is easier to package
  • Make notify-send optional, preferably replace completely.
  • Get a list of files currently in the built AppImage that can be removed to lower filesize (use strace AppRun to make sure nothing of the local filesystem is called, to make sure everything is self-contained).

@TheAssassin
Copy link
Contributor

Also, call strace on the final AppImage (as root, otherwise it won't work) and look for resources loaded from the host by calling the following script (source):

strace -eopen -f ./pext-x86_64.AppImage 2>&1 | grep / | grep -v ENOENT | cut -d "\"" -f 2 | sort | uniq

@TheLastProject TheLastProject changed the title Packaging Linux Packaging Oct 9, 2017
kevinanderson1 added a commit to kevinanderson1/Pext that referenced this issue Oct 25, 2017
@TheLastProject TheLastProject added this to the v1.0 milestone Nov 16, 2017
@TheLastProject TheLastProject modified the milestones: v1.0, v0.13 Apr 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants