Python package guidelines
For libraries, use
python-modulename. For applications, use the program name. In either case, the package name should be entirely lowercase.
Python 2 libraries should instead be named
Most Python packages are installed with the distutils system using setup.py, which installs files under
/usr/lib/python<python version>/site-packages/pkgname directory.
--optimize=1 parameter compiles
.pyo files so they can be tracked by pacman.
In most cases, you should put
any in the
arch array since most Python packages are architecture independent.
Please do not install a directory named just
tests, as it easily conflicts with other Python packages (for example,
An example PKGBUILD can be found at
/usr/share/pacman/PKGBUILD-python.proto, which is in the package.