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

This package is a zc.buildout recipe which allow to install python packages using pip

Detailed Documentation

Supported options

The recipe supports the following options:

virtualenv

Virtualenv directory. The virtualenv is build in this directory (Default to parts/pip). You can also use an existing one. If a virtualenv option is found in the buildout section then this one is used except if the current section override it.
env
extra environement vars used with subprocess
indexes
Extra indexes url.
install
A list of string passed to pip directly. A sub process is run per line. This allow to use –install-option.
editables
A list of svn url. (svn+http://myrepo/svn/MyApp#egg=MyApp)
eggs
A list of distribution to install with buildout

This recipe is based on zc.recipe.egg#scripts so options used by this recipe should also works.

Example usage

We’ll start by creating a buildout that uses the recipe:

>>> write('buildout.cfg',
... """
... [buildout]
... parts = test1
...
... [test1]
... recipe = gp.recipe.pip
... install =
...     PasteScript
... interpreter = python
... scripts =
...     paster = paster
... """)

Running the buildout gives us:

>>> print 'start', system(buildout)
start...
Installing test1.
...
Generated script '/sample-buildout/bin/paster'.
Generated interpreter '/sample-buildout/bin/python'...

Scripts are generated:

>>> ls('bin')
-  buildout
-  paster
-  python

With the virtualenv binary as executable:

>>> print 'cat', cat('bin', 'paster')
cat .../parts/pip/bin/python
...

Complete Example

Here is a config file used to install Deliverance:

[buildout]
parts = eggs
download-cache = download
versions = versions

[versions]
# the recipe take care of versions
lxml=2.2alpha1

[eggs]
recipe = gp.recipe.pip
# needed to build static libs for lxml
env =
    STATIC_DEPS=true

# packages to install with pip
install =
    Cython
    --install-option=--static-deps lxml
    http://deliverance.openplans.org/dist/Deliverance-snapshot-latest.pybundle

# packages to install with buildout
eggs =
    pyquery

# svn urls
editables =
    svn+http://...

Contributors

Gael Pasgrimaud

Change history

0.5.3 (2012-9-5)

  • Remove -E from pip options [Aaditya Sood]

0.5.2 (2010-07-16)

  • Tagged [Gael Pasgrimaud]

0.5.1 (2009-12-14)

  • Support CFLAGS [Rob Miller]

0.5 (2009-12-8)

  • fix #1. bug with multi-index options. patch by Jannis Leidel.
  • use distribute

0.4 (2008-12-8)

  • allow to use extra env vars
  • fix bug with editables
  • allow to share virtualenvs / build_dir between buildouts
  • avoid duplicated installation by buildout

0.3 (2008-12-7)

  • Fixes: Always install a virtualenv. Split line arguments for install

0.2 (2008-12-7)

  • Fix error when no download cache is set [Gael Pasgrimaud].
Release History

Release History

0.5.3

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

0.5.2

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

0.5.1

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

0.5

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

0.4

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

0.3

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

0.2

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

0.1

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
gp.recipe.pip-0.5.3.tar.gz (7.4 kB) Copy SHA256 Checksum SHA256 Source Sep 25, 2012

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