I have several django apps. all of which are in separate packages and can
be installed seperately.  I would like them all to be sub-packages of a
master package named "ga" So:

ga.datacube
ga.pyramid
ga.sensorcollection

 and so on.  The problem is that when I install them the packages never
seem to show up.  My project structure looks like this:

GA pyramid project:
/home/jeff/ga/ga_pyramid/
ga/
  __init__.py        # contains "import pyramid"
  pyramid/
      models.py
      views.py
      tasks.py
      tests.py
      urls.py
      static/
      templates/


GA datacube project:
/home/jeff/ga/ga_datacube/
ga/
  __init__.py        # contains "import datacube"
  datacube/
      models.py
      views.py
      tasks.py
      tests.py
      urls.py
      static/
      templates/


My setup py's packages line for datacube is just ['ga.datacube']

but when install the app in settings.py and then do python manage.py shell,
I get this:

"no module named datacube"

I must be doing something wrong in my setup.py or else my package
structure, but I'm really not sure what. Can I install multiple packages
with the same prefix?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to