Pycopia Installation

How to install Pycopia as a test framework.


Pycopia is divided into packages that can be used for various roles. These instructions describe how to install the full system for running as a QA framework.

Pycopia runs on most Linux distributions. However, some may not have dependent packages available or not the right versions. These documents describe how to install in specific Linux distributions.

You will need a basic development environment installed (gcc plus “dev” packages).

Installation is a little bit of a chore. This system is really intended to be installed and run in a testing or QA “appliance”. That is, a the whole system pre-installed in a dedicated host or virtual machine. If you would like a VMware virtual machine image instead just let us know.

Main Setup Script

The top-level setup script helps with dealing with all sub-packages at once. It also provides an installer for a developer mode.

Invoke it like a standard script. However, Any names after the operation name are taken as sub-package names that are operated on. If no names are given then all packages are operated on.


List available subpackages. These are the names you may optionally supply.
Put source distribution on pypi.
Run setuptools build phase on named sub-packages (or all of them).
Run setuptools install phase.
Build distributable egg package.
Build RPMs on platforms that support building RPMs.
Build Microsoft .msi on Windows.
Build .exe installer on Windows.
Developer mode, as defined by setuptools.
Developer mode, installing .pth and script files in user directory.
Run setuptools clean phase.
Squash (flatten) all named sub-packages into single tree in $PYCOPIA_SQUASH, or user site-directory if no $PYCOPIA_SQUASH defined. This also removes the setuptools runtime dependency.

Most regular setuptools commands also work. They are passed through by default. For a basic intallation you just need to use the install command.

NOTE: The install operation requires that the sudo command be configured for
you, or you run it as root.

Table Of Contents

Previous topic

Pycopia reference documentation

Next topic

Installing on Ubuntu LTS (10.04)