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 tl.buildout-mod-python

How to install tl.buildout_mod_python

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install tl.buildout-mod-python
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.3 Available View build log
Windows (64-bit)
0.3 Available View build log
Mac OS X (10.5+)
0.3 Available View build log
Linux (32-bit)
0.3 Available View build log
Linux (64-bit)
0.3 Available View build log
 
Author
License
ZPL 2.1
Lastest release
version 0.3 on Jan 5th, 2011

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

Content block expected for the "ATTENTION" directive; none found.

.. ATTENTION::

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

Explicit markup ends without a blank line; unexpected unindent.

This recipe has been deprecated. Its functionality is included in the tl.buildout_apache recipe from version 0.2 on. It may not be possible to use it together with version 0.3 or above of the Apache recipe.

This is a zc.buildout recipe for setting up the mod_python module for the Apache web server. It is designed to work together with the tl.buildout_apache recipes.

Since the mod_python Python package needs to be available to the Python interpreter before it has a chance to modify the interpreter's module search path, this recipe writes a .pth file to Python's site-packages directory. This means that the Python installation used must be writeable, and it should by all means be private to the buildout. You can include a custom-built Python in your buildout using some configure/make/make install recipe, or, as a light-weight alternative, a virtual python using the tl.buildout_virtual_python recipe. In any case, Python's C header files must be installed.

This recipe appears to be reliable, but the feature set is basically determined by the author's immediate needs. Don't hesitate to send questions, bug reports, suggestions, or patches to <thomas@thomas-lotze.de>.

Options

A buildout part created by this recipe serves as a config part to be used in a tl.buildout_apache:root section. It adds configuration directives to load the mod_python shared module and configure the Python interpreters' module search path.

None of the options described below are required: they either have sensible defaults or are computed by the recipe. You may override any of them.

Configuration options: :url: Where to get the source distribution.

md5sum:

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

Field list ends without a blank line; unexpected unindent.

MD5 checksum of the source distribution.

extra-options:

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

Field list ends without a blank line; unexpected unindent.

Extra configure options, appended to the ./configure command line.

extra-vars:

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

Field list ends without a blank line; unexpected unindent.

Extra environment variables for ./configure, make, and make install calls.

httpd:

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

Field list ends without a blank line; unexpected unindent.

The name of a buildout section for an httpd installation, defaults to "httpd". This can either be a part that uses the tl.buildout_apache:root recipe, or a section that describes a system-wide installation. It must export the "apxs-path" option.

python:

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

Field list ends without a blank line; unexpected unindent.

The name of a buildout section for a Python installation, defaults to the Python section used by the "buildout" part. It must export the "executable" option.

eggs:

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

Field list ends without a blank line; unexpected unindent.

Specifications of eggs to be available on mod_python's default Python path.

find-links:

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

Field list ends without a blank line; unexpected unindent.

See the zc.recipe.egg documentation.

index:

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

Field list ends without a blank line; unexpected unindent.

See the zc.recipe.egg documentation.

extra-paths:

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

Field list ends without a blank line; unexpected unindent.

Non-egg paths to be included in mod_python's default Python path.

config-parts:

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

Field list ends without a blank line; unexpected unindent.

Names of buildout sections with further configuration. See the tl.buildout_apache:root recipe.

Exported options: :so-path: Absolute file system path to the mod_python.so shared module.

lib-dir:

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

Field list ends without a blank line; unexpected unindent.

Absolute file system path to the Python library directory that contains the mod_python package.

path-file:

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

Field list ends without a blank line; unexpected unindent.

The path to a file that contains the paths to the configured eggs and all of the configured extra paths, one per line.

extra-env:

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

Field list ends without a blank line; unexpected unindent.

A specification for httpd's PATH so the correct Python executable will be used.

extra-config:

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

Field list ends without a blank line; unexpected unindent.

A piece of Apache server configuration that loads the mod_python shared module and sets mod_python's default Python path.

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

Explicit markup ends without a blank line; unexpected unindent.

http://www.python.org/pypi/tl.buildout_virtual_python

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:1

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.