Prior99 / mopidy-subidy

Mopidy extension for playing music from Subsonic servers.
BSD 3-Clause "New" or "Revised" License
30 stars 10 forks source link

How to install? #22

Closed gerroon closed 4 years ago

gerroon commented 6 years ago

This is not avail with pip, not sure how I can install this. It would be nice if the way to install is mentioned.

thanks

Prior99 commented 6 years ago

Perhaps I could publish this to pip. Which Linux distribution are you using?

gerroon commented 6 years ago

HI

I am on Debian

Prior99 commented 6 years ago

Ok. I wrote a package for Arch Linux but I am not familiar with packaging for Debian. I think pip might not be the best place for this plugin to be published. It's my understanding that also on Debian the system's package manager should manage the files in /usr. When installing dependencies system-wide using pip without a virtual environment it could potentially lead to conflicts.

Is there some place like the AUR for Debian?

Maybe you can take it from here and prepare a .deb package? My PKGBUILD file for pacman might help.

gerroon commented 6 years ago

@Prior99

I am not an expert on the packageing for Debian either. However pip packaging should be sufficient I guess. There are mopidy packages for Debian via the Mopidy repo, maybe there is some doc about it?

weendigo commented 5 years ago

Hi, is there any way to install the plugin on Ubuntu (16.04, planning upgrade to 18:04) please?

Prior99 commented 5 years ago

Hi, I am not using Debian or Ubuntu and have no insight on how to package it for those. Feel free to add a CI building a .deb file or building it on your own, I'd happily accept your Pullrequest.

On a side note: Mopidy refuses to migrate to Python 3 since some years and Python 2 will soon be end of life. Due to this, Debian (and I guess Ubuntu, too) will no longer support Mopidy in the future. Perhaps you should consider switching to a different setup. Using Volumio perhaps.

weendigo commented 5 years ago

@Prior99 Thanks for your comment. I unfortunately don't have the skills to package it myself either. Also thanks for the notes - seems Mopidy is a dead end for me anyway...

jodal commented 4 years ago

Hi! I'm both a core developer of Mopidy and a Debian Developer.

I'd very much like to encourage you to publish this extension to PyPI. There's nothing in this extension that is specific to Arch Linux, so given a release to PyPI it would very likely work out of the box both on Debian and quite different systems like macOS.

PyPI packages can safely be installed on Debian systems as is, and they are also typically used as the source for packaging Python software as Debian packages. At the very least, all of the Mopidy extensions packaged in Debian and Ubuntu are based on their PyPI releases.

I just submitted PR #32 that modernizes this extension's project setup to match that of other Mopidy extensions. It should make this extension fully ready to be published to PyPI. I left instructions on how to do that in the PR description.

I'm looking forward to seeing this extension at PyPI, so it becomes easier for users not on Arch Linux to install it :-)

jodal commented 4 years ago

Since Mopidy-Subidy now is installable from PyPI, the answer to this issue, which is now also documented in the project's readme, is:

sudo python3 -m pip install Mopidy-Subidy

I guess this issue can be closed.