hangups icon indicating copy to clipboard operation
hangups copied to clipboard

Make it easier for non-developers to install hangups

Open tdryer opened this issue 8 years ago • 8 comments

The installation methods offered for hangups are more suitable for developers than end users. Add ways to install hangups that are easier for non-developers.

Some ideas:

  • It would be possible to build deb or rpm packages, but this would require either packaging or bundling some of hangups' dependencies as well
  • PyInstaller can build single-directory or single-file packages with no dependencies for multiple platforms
  • Ubuntu 16.04 supports snap packages which should be easy to install and bundle all dependencies

Suggestions are welcome.

tdryer avatar Apr 23 '16 04:04 tdryer

An experimental snap package is now available in Ubuntu 16.04:

sudo snap install hangups

Please let me know if there are any issues with it.

tdryer avatar May 01 '16 03:05 tdryer

Known issues with snap package:

  • specifying command line arguments containing paths can cause PermissionError because of sandboxing
  • notifications don't work
  • Unicode doesn't work.

tdryer avatar May 03 '16 03:05 tdryer

I am working on an ebuild for this in Gentoo, and we do not consider bundling dependencies to be a good thing, so I will be looking into packaging dependencies we do not already have. I opened #284 because we have newer versions of some of the dependencies, and the versions you require do not exist in our distribution.

williamh avatar Dec 16 '16 22:12 williamh

It would make it easier to package this if it didn't have == for some of the deps in setup.py

prometheanfire avatar Dec 29 '16 18:12 prometheanfire

@prometheanfire is correct. Pinning to specific versions of dependencies can lead to Dependency Hell [1], so it is best to not do this.

[1] https://en.wikipedia.org/wiki/Dependency_hell

williamh avatar Dec 29 '16 18:12 williamh

Snap package update is currently on hold because of an issue with pkg_resources trying to list files in the current working directory: https://gist.github.com/tdryer/d8b57aab2144fd7dc66a33f992784d56

tdryer avatar Mar 05 '17 02:03 tdryer

Fixed (https://github.com/tdryer/hangups/commit/ed360f3aa4333adbf3e9c60f0b2ed6bc94225491) and updated the snap package.

tdryer avatar Mar 05 '17 05:03 tdryer

Experimental PyInstaller distribution is available in #313.

tdryer avatar Mar 12 '17 01:03 tdryer