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.
Changelog
0.1
First release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file django-setuptest-recipe-0.1.tar.gz
.
File metadata
- Download URL: django-setuptest-recipe-0.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db7d4143a617f948cf127bb27f2296d301fca80698e58968e7f806d4e0c32efb |
|
MD5 | 6fec8f620ea5474203f89a8f0453c285 |
|
BLAKE2b-256 | ce677e6f76469952934e63db42d711cd623733bc82237444cca9f73cfe5e955f |
File details
Details for the file django_setuptest_recipe-0.1-py2.6.egg
.
File metadata
- Download URL: django_setuptest_recipe-0.1-py2.6.egg
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3baa12c46b910238f8fa571fbc2adc01a6237fdb4c11a2c0bde363c3b07b244b |
|
MD5 | 10f88ba12ba37d906ae3b2b3ef8191e8 |
|
BLAKE2b-256 | 3e52bc5fc1b46b793dd3b1b4226c3a38f0e8986b2401758c193bc32a1b9c5009 |
File details
Details for the file django_setuptest_recipe-0.1-py2.4.egg
.
File metadata
- Download URL: django_setuptest_recipe-0.1-py2.4.egg
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7963da4a9ee1faff9a297617bd95b18e946c8acf361f3f3456429acb1408a711 |
|
MD5 | 7711d298171f0638f98d55dc7ddbe94b |
|
BLAKE2b-256 | bd74f5ff0e4283ba9ad28e9f9bbe20446a0a1de9f69fe5805e4123b26376be79 |