[Distutils] [buildout] pythonpath

John Griessen john at industromatic.com
Wed Mar 17 16:39:43 CET 2010


I've got a buildout config partially working, but missing
ability to find some views.

How would you add paths to find

cottagematic_bld/cottagematic_com/polls
and /home/john/djangotemplates

to this buildout config?

---------------------------------
[buildout]
eggs-directory = /home/john/buildout/eggs
extensions = mr.developer
sources = sources
auto-checkout = django-mptt

parts =
     django

eggs =
     mock
     django-notification
     django-page-cms
     django-haystack

[sources]
django-mptt = svn http://django-mptt.googlecode.com/svn/trunk/ rev=>0.2.2 path=src-untouched

[django]
recipe = djangorecipe
version = 1.1.1
settings = development
urls =
     http://code.google.com/p/django-messages/source/browse/#svn/branches/messages-0.4.x

wsgi = true
eggs = ${buildout:eggs}
project = cottagematic_com
-------------------------------------------------

The django app has info to find things, but somehow the python path
doesn't get all of it.  From django settings.py:

INSTALLED_APPS = (
     'django.contrib.auth',
     'django.contrib.contenttypes',
     'django.contrib.sessions',
     'django.contrib.admin',
)

TEMPLATE_LOADERS = (
     'django.template.loaders.filesystem.load_template_source',
     'django.template.loaders.app_directories.load_template_source',
)

TEMPLATE_DIRS = (
     os.path.join(os.path.dirname(__file__), "templates"),
     "/home/john/djangotemplates"



thanks,

John


More information about the Distutils-SIG mailing list