This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

For Python packages which are only installable with distutils, and aren’t yet available as eggs. This recipe will download a distutils tarball, build it and place it inside your buildout inside a parts/site-packages directory.

It is up to you to inform your Python about this site-packages directory. You might do this with the zc.recipe.egg recipe:

[buildout]
parts =
    mypython

[mypython]
recipe = zc.recipe.egg
eggs = zc.recipe.egg
extra-paths = ${buildout:directory}/parts/site-packages/
interpreter = mypython
scripts = mypython

Options

url
The URL of the archives to download and install. The archive specified will be installed inside a site-packages directory.
build_ext
Additional build options passed to setup.py.

To-Do

Currently only enough work has been done on this recipe to get it to install mx-base and psycopg2. There is lots of room for improvement …

Example Usage

A sample buildout.cfg that installs mx-base and psycopg2 inside the site-packages directory. It also installs PostgreSQL for building psycopg2, adjusting the build_ext for psycopg2 to point to an existing PostgreSQL install would remove the need for this:

[buildout]
parts =
    egenix-mx-base
    mypython
    postgresql
    psycopg2

[egenix-mx-base]
recipe = collective.recipe.distutils
url = http://downloads.egenix.com/python/egenix-mx-base-3.0.0.zip

[mypython]
recipe = zc.recipe.egg
eggs = zc.recipe.egg
extra-paths = ${buildout:directory}/parts/site-packages/
interpreter = mypython
scripts = mypython

[postgresql]
recipe = zc.recipe.cmmi
url = http://example.com/postgresql-8.1.9.tar.gz

[psycopg2]
recipe = collective.recipe.distutils
url = http://example.com/psycopg2-2.0.6.tar.gz
build_ext =
        --pg-config=${buildout:directory}/parts/postgresql/bin/pg_config
        --rpath=${buildout:directory}/parts/postgresql/lib
Release History

Release History

0.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.recipe.distutils-0.1-py2.4.egg (7.9 kB) Copy SHA256 Checksum SHA256 2.4 Egg Feb 28, 2008
collective.recipe.distutils-0.1.tar.gz (4.2 kB) Copy SHA256 Checksum SHA256 Source Feb 28, 2008

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting