Previous: Introduction, Up: Introduction

1.1 Configuring Python packages

Configuring and installing Python packages which use pyconfigure follows the familiar steps of all standard GNU software:

     $ ./configure
     $ make
     $ make install

As usual, the user may pass arguments to configure in order to specify how she wants the software to be installed. By default, the generated configure script takes the following useful arguments, among others:

Argument Description

--prefix Set the root directory in which to install files (default=/usr/local)

--with-virtualenv Install to a virtualenv at $prefix

PYTHON Path to the Python interpreter to use

PYTHONPATH The PYTHONPATH to use during the installation

However, as the developer is expected to customize these files, the final configure script may take many more arguments. The developer is expected to provide proper documentation in this case.