You are not logged in Log in Join
You are here: Home » Members » 4AM Productions (Evan Simpson) » Simple script to package up Products » swpackage_view

Log in
Name

Password

 
 

Simple script to package up Products

This is a bash shell script for making a Product distribution tarball. It tries to make a cleaner tarball by omitting *.pyc files and the lib, python and Product directories.

It has only been tested under a RedHat-based Linux.

Place it in your Zope directory, and run it as:

./packProduct packagename

Your Package is presumed to live in lib/python/Products/packagename

If a file lib/python/Products/packagename.package exists, its contents will be used as the name of the tarball, otherwise packagename.tgz will be used.

For example, I have a SiteAccess.package file in my Products directory containing the line:

/home/evan/tarballs/Zope/SiteAccess-0.2.0-nonbin.tgz

Latest Release: default
Last Updated: 1999-12-16 18:57:33
Author: 4am
Categories: Helpers
Maturity: Development

Available Releases

Version Maturity Platform Released
default Development   1999-12-16 18:57:33
  packProduct (1 K) Generic UNIX-like