Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install as.recipe.frozenpkg

How to install as.recipe.frozenpkg

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install as.recipe.frozenpkg
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.2.13
0.2.26Never BuiltWhy not?
0.2.13 Available View build log
Windows (64-bit)
0.2.13
0.2.26Never BuiltWhy not?
0.2.13 Available View build log
Mac OS X (10.5+)
0.2.13
0.2.26 Failed View build log
0.2.13 Available View build log
Linux (32-bit)
0.2.13
0.2.26 Failed View build log
0.2.13 Available View build log
Linux (64-bit)
0.2.13
0.2.26 Failed View build log
0.2.13 Available View build log
 
Author
License
GPL
Dependencies
Lastest release
version 0.2.26 on May 9th, 2013

Introduction

This recipe enables you to freeze your whole 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...

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.
attr-def-user
Default user for files ownership (defaults to "root").
attr-def-group
Default group for files ownership (defaults to "root").
attr-def-mode
Default mode for files ownership (defaults to 0755).
attr-conf
Matching files will be marked as configuration files.
dereference:
Derefence symbolic links, archieving the link target.

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 =

System Message: ERROR/3 (<string>, line 95)

Unexpected indentation.
libevent openssl

System Message: WARNING/2 (<string>, line 97)

Block quote ends without a blank line; unexpected unindent.

pkg-prefix = /opt/testapp pkg-pre-install =

System Message: ERROR/3 (<string>, line 99)

Unexpected indentation.
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

attr-conf = conf/*.conf

System Message: WARNING/2 (<string>, line 120); backlink

Inline emphasis start-string without end-string.

Subscribe to package updates

Last updated May 9th, 2013

Download Stats

Last month:18

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.