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!

Recipe to prevent django-setuptest from polluting module being tested with downloaded eggs

Project Description

Django Setuptest Recipe

Recipe to prevent django-setuptest from polluting module being tested with downloaded eggs.

Motivation

django-setuptest downloads eggs required for a test run and places them in the module directory. For example, if the module to be tested is called foo then the command python setup.py test causes src/foo to be polluted with many eggs. There is currently no way to instruct setuptools to store these eggs in another location.

django-setuptest-recipe addresses this shortcoming by wrapping the Python interpreter to be aware of egg locations.

Usage

Add the following to your buildout.cfg:

parts=
    ...
    setuptest-runner

[setuptest-runner]
recipe = django-setuptest-recipe
eggs = ${buildout:eggs}

An executable file called setuptest-runner is created in the bin directory. You can now do /path/to/instance/bin/setuptest-runner setup.py test from within the src/foo directory.

Authors

Praekelt Foundation

  • Hedley Roos

Changelog

0.1

  1. First release.
Release History

Release History

This version
History Node

0.1

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
django_setuptest_recipe-0.1-py2.4.egg (4.0 kB) Copy SHA256 Checksum SHA256 2.4 Egg Aug 3, 2012
django_setuptest_recipe-0.1-py2.6.egg (4.0 kB) Copy SHA256 Checksum SHA256 2.6 Egg Oct 17, 2011
django-setuptest-recipe-0.1.tar.gz (2.5 kB) Copy SHA256 Checksum SHA256 Source Oct 17, 2011

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