You are here: Home / LBN / Up2date / Plone and Zope / BastionLinux 13 / zest.pocompile-1.3-2.lbn13.noarch

zest.pocompile-1.3-2.lbn13.noarch

Package Attributes
RPM  zest.pocompile-1.3-2.lbn13.noarch.rpm Architecture  noarch Size  17833 Created  2017/08/04 11:09:22 UTC
Package Specification
Summary Compile po files when releasing a package
Group Application/Internet
License ZPL
Home Page http://pypi.python.org/packages/source/z/zest.pocompile/zest.pocompile-1.3.tar.gz
Description

This package compiles po files. It contains a zest.releaser entry point and a stand-alone command line tool.

Goal

You want to release a package that has a locales dir (or locale, or something else as long as it has a LC_MESSAGES folder somewhere in it) with translations in .po files. You want to include the compiled .mo files in your release as well, but you do not want to keep those in a revision control system (like subversion) as they are binary and can be easily recreated. That is good. This package helps with that. Want .mo files? Add a MANIFEST.in file.

When you use python setup.py sdist to create a source distribution, distutils (or setuptools or distribute or distutils2) knows which files it should include by looking at the information of the revision control system (RCS). This is why in the case of subversion you should use a checkout and not an export: you need the versioning information. (For other RCS or for subversion 1.7+ you currently need to install extra packages like setuptools-git.)

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
/bin/sh  
rpmlib(CompressedFileNames)  
/usr/bin/python2.6  
rpmlib(PartialHardlinkSets)  
rpmlib(PayloadIsXz)  
Provides
zest.pocompile
Obsoletes
zest.pocompile-egginfo

Document Actions