You are here: Home / LBN / Up2date / Plone and Zope / BastionLinux 25 / zest.pocompile-1.4-1.lbn25.noarch

zest.pocompile-1.4-1.lbn25.noarch

Package Attributes
RPM  zest.pocompile-1.4-1.lbn25.noarch.rpm Architecture  noarch Size  18058 Created  2023/06/18 05:08:48 UTC
Package Specification
Summary Compile po files when releasing a package
Group Application/Internet
License ZPL
Home Page https://github.com/zestsoftware/zest.pocompile
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  
rpmlib(PartialHardlinkSets)  
python  
rpmlib(PayloadIsXz)  
Provides
python2.7dist(zest.pocompile)
python2dist(zest.pocompile)
zest.pocompile
Obsoletes
zest.pocompile-egginfo

Document Actions