Skip to main content

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 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

  • use-interpreter - Name of python interpreter to use.

  • develop - List of directories, where setup.py files reside. Typically ${buildout:develop} to list all developed apps.

  • 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.

Project details


Download files

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

Source Distribution

setup-recipe-1.0.alpha0.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file setup-recipe-1.0.alpha0.tar.gz.

File metadata

File hashes

Hashes for setup-recipe-1.0.alpha0.tar.gz
Algorithm Hash digest
SHA256 58c151145df355d28a64b42cc3ee9328325f694e9bea59f2e4d9abb10c959d66
MD5 3269290cc87ed40b0ef5fbbd8cbac465
BLAKE2b-256 0fa2665c21db7389c71d66d0736b8d6a38662a19c76f098f1bcc7d5272db04ac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page