ZC Buildout recipe for freezing buildouts in RPM's, tar.gz's, etc
Project description
Introduction
============
This recipe enables you to freeze your buildout in a RPM, tgz's, etc.
You can specify the package details, the installation prefix, and the eggs and
scripts that must be copied to the package.
Only RPM packing is currently implemented.
This recipe is EXPERIMENTAL and quite unstable, so use at your own risk...
.. contents::
- PyPI page: http://pypi.python.org/pypi?:action=display&name=as.recipe.frozenpkg
Options
=======
pkg-name
Mandatory. The package name.
pkg-version
The package version.
pkg-vendor
The package vendor.
pkg-packager
The packager.
pkg-url
The package URL.
pkg-license
The license.
pkg-deps
Package dependencies. It must be a space-separated list of RPM packages.
pkg-prefix
The installation prefix. Default: /opt/pkg-name
pkg-pre-install
Shell commands to run before installing the RPM
pkg-post-install
Shell commands to run after installing the RPM
eggs
The list of eggs that must be copied to the RPM package.
eggs-skip
A list of eggs to always skip when copying to the package.
scripts
The scripts that will be copied to the package. Tese scripts will have their paths relocated to the installation prefix.
extra-dirs
Any additional directories to create in the package (ie, _"logs"_).
extra-copies
Any additional extra copies. They must be specified as "orig -> dest", where orig can be any valid glob expression, and dest must be a path relative to install-prefix.
extra-cleanups
Any additional files that must be removed in the package.
Example
=======
[rpm]
recipe = as.recipe.frozenpkg:rpm
pkg-name = testapp
pkg-version = 1.0
pkg-vendor = The Vendor
pkg-packager = My Company
pkg-url = http://www.mycomp.com
pkg-license = GPL
pkg-deps =
libevent
openssl
pkg-prefix = /opt/testapp
pkg-pre-install =
echo "Installing at ${buildout:pkg-prefix}"
pkg-post-install =
echo "Installed at ${buildout:pkg-prefix}"
eggs = ${main:eggs}
eggs-skip =
pip
extra-copies =
/usr/local/lib/mylib.so -> lib/
/usr/local/lib/myextras*.so -> lib/
conf/some-local-config.cfg -> conf/
extra-dirs =
logs
var/run
extra-cleanups =
bin/activate.*
debug = yes
============
This recipe enables you to freeze your buildout in a RPM, tgz's, etc.
You can specify the package details, the installation prefix, and the eggs and
scripts that must be copied to the package.
Only RPM packing is currently implemented.
This recipe is EXPERIMENTAL and quite unstable, so use at your own risk...
.. contents::
- PyPI page: http://pypi.python.org/pypi?:action=display&name=as.recipe.frozenpkg
Options
=======
pkg-name
Mandatory. The package name.
pkg-version
The package version.
pkg-vendor
The package vendor.
pkg-packager
The packager.
pkg-url
The package URL.
pkg-license
The license.
pkg-deps
Package dependencies. It must be a space-separated list of RPM packages.
pkg-prefix
The installation prefix. Default: /opt/pkg-name
pkg-pre-install
Shell commands to run before installing the RPM
pkg-post-install
Shell commands to run after installing the RPM
eggs
The list of eggs that must be copied to the RPM package.
eggs-skip
A list of eggs to always skip when copying to the package.
scripts
The scripts that will be copied to the package. Tese scripts will have their paths relocated to the installation prefix.
extra-dirs
Any additional directories to create in the package (ie, _"logs"_).
extra-copies
Any additional extra copies. They must be specified as "orig -> dest", where orig can be any valid glob expression, and dest must be a path relative to install-prefix.
extra-cleanups
Any additional files that must be removed in the package.
Example
=======
[rpm]
recipe = as.recipe.frozenpkg:rpm
pkg-name = testapp
pkg-version = 1.0
pkg-vendor = The Vendor
pkg-packager = My Company
pkg-url = http://www.mycomp.com
pkg-license = GPL
pkg-deps =
libevent
openssl
pkg-prefix = /opt/testapp
pkg-pre-install =
echo "Installing at ${buildout:pkg-prefix}"
pkg-post-install =
echo "Installed at ${buildout:pkg-prefix}"
eggs = ${main:eggs}
eggs-skip =
pip
extra-copies =
/usr/local/lib/mylib.so -> lib/
/usr/local/lib/myextras*.so -> lib/
conf/some-local-config.cfg -> conf/
extra-dirs =
logs
var/run
extra-cleanups =
bin/activate.*
debug = yes
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for as.recipe.frozenpkg-0.2.21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d801eebba988322d221c615208202178e94f0203b66af89fd327f1a00a158b7 |
|
MD5 | 3751a12caa4c5b1d133cb426d84ce8ed |
|
BLAKE2b-256 | 170b47bf798735aba7cdb24d1f455b97b898f218286854db340c2b57d9fcc430 |
Close
Hashes for as.recipe.frozenpkg-0.2.21-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 442df6b426f6a5d3091586d967ef330804ecfe914faad68133776f39bc95a01e |
|
MD5 | 88f738c2a235c9716253d919d2f52224 |
|
BLAKE2b-256 | 616d1a0e7719c14f06951d7d49e99f5ac70d71fc9e1c60b1cb0e8583bf7cfc0a |