Can I have contrib modules installed?

Asked by Nigel

Is it possible, or desirable, to have the Django buildout recipe install Django contrib modules into the contrib directory. The specific module I am currently trying to integrate is SimpleTemplate (http://svn.clearwind.ca/public/django/simpletemplate/readme.txt) and I currently have to manually install it after buildout is run. I've tried to hook up the existing SVN modules for buildout, but none of them allow you to check out into an existing "part".

I've had some success using the following command, but some advice as to the most appropriate/elegant approach would be appreciated.
[simpletemplate]
recipe = iw.recipe.cmd
on_install = true
cmds = svn co http://svn.clearwind.ca/public/django/simpletemplate/ parts/django/django/contrib/simpletemplate

Question information

Language:
English Edit question
Status:
Answered
For:
Django Recipe Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jeroen Vloothuis (jvloothuis) said :
#1

I think that simpletemplate could do a bit better here. If it would just be a normal package (not living under django.contrib) it would work. Are there more packages like this out there?

To work around your problem you could also try to use something like the recipe below and make a symlink with it:

http://pypi.python.org/pypi/iw.recipe.cmd/0.3

Can you help with this problem?

Provide an answer of your own, or ask Nigel for more information if necessary.

To post a message you must log in.