Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Buildout recipe, that runs the setup.py in all specified directories using custom interpreter, e.g. the one generated by zc.buildout.egg recipe.

Project Description

Runs the setup.py in all specified directories, using custom interpreter, e.g. the one generated by zc.buildout.egg recipe. Its intended to be used to run any commands that require libraries (eggs) from buildout. Any additional command line arguments are passed to the setup.py. Setup is always run in working directory where it resides.

Parameters

  • develop - List of directories, where setup.py file reside. Typically ${buildout:develop} to list all developed apps.
  • use-interpreter - Name of python interpreter to use. Optional, when not specified, system interpreter is used.
  • command - Command line argument for the setup.py. Optional.

Typical buildout.cfg snippet:

[python]
recipe = zc.recipe.egg
interpreter = python
eggs = ${buildout:eggs}

[test]
recipe = setup-recipe
use-interpreter = ${python:interpreter}
develop = ${buildout:develop}
command = test

Running ./bin/test will then run ./bin/python setup.py test for every developed project.

Adding arguments ./bin/test sdist register upload will then test, build and publish all apps to cheeseshop. Since you can omit implicit command, you can have generic script setup and call it with whatever arguments you wish.

Release History

Release History

This version
History Node

1.0.alpha2

History Node

1.0.alpha1

History Node

1.0.alpha0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
setup-recipe-1.0.alpha2.tar.gz (2.7 kB) Copy SHA256 Checksum SHA256 Source Oct 16, 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