-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Packaging
To make beets more easily available to users it would be nice to create packages / installers for different platforms so that people can get a stable release for beets without having to mess with getting packages from pypi and so on.
Currently beets is very much in development but for a 1.0 release it would be nice if we could have something like this.
An additonal problem could be that some of the python libraries we use are not packaged for the different distributions so we'd need to do that too. That alone makes it a lot more difficult.
About every Linux distribution (except for derivatives) has their own way of handling the installation of software.
The current PKGBUILD for beets here on AUR. It's been suggested that we add a dev build (pulling straight for git/hg) as well.
I think the best way to make deb packages from distutils/setuptools is using stdeb. Should probably set up a PPA for Ubuntu users.
The official Debian package is available at http://packages.debian.org/sid/beets For Ubuntu, worst case scenario would be that it would be available in 12.10.
Here are diverse resources if needed:
- http://www.debian.org/doc/packaging-manuals/python-policy/
- http://wiki.debian.org/Teams/PythonAppsPackagingTeam
- http://wiki.debian.org/Teams/PythonModulesTeam
- http://python-apps.alioth.debian.org/policy.html
Perhaps we could simplify our lives by using fpm. It allows for generation of source-rpm's, debian packages and Solaris packages and can handle python modules.
The BSD-family of operating systems uses a system called ports to provide information to you ports/package-manager on how to download, compile and install software.
- FreeBSD: http://www.freebsd.org/doc/en/books/porters-handbook/
- OpenBSD: http://www.openbsd.org/porting.html
- NetBSD: http://www.netbsd.org/docs/pkgsrc/developers-guide.html
Mac OS X has no unified way of installing extras into its Unix base system. A few solutions have been created to remediate the situation.
Here's a guide to writing portfiles for MacPorts.
Homebrew has a policy where it will not include packages which are installable via pip. So you can use pip install beets
. See https://github.com/mxcl/homebrew/wiki/Homebrew-and-Python for more information.