django-setuptest-recipe

Software Screenshot:
django-setuptest-recipe
Software Details:
Version: 0.1
Upload Date: 11 May 15
Distribution Type: Freeware
Downloads: 29

Rating: nan/5 (Total Votes: 0)

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 is a Django app that 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.

Requirements:

  • Python
  • Django

Other Software of Developer Praekelt Foundation

jmbo-music
jmbo-music

14 Apr 15

jmbo-football
jmbo-football

20 Feb 15

panya-music
panya-music

11 May 15

django-south-admin
django-south-admin

20 Feb 15

Comments to django-setuptest-recipe

Comments not found
Add Comment
Turn on images!