Okay, I did this, but I also have stuff that I'm adding to the
django.contrib namespace, or at least I did. I created the following:
django/
__init__.py # empty
contrib/
__init__.py # empty
and in my packages line in setup.py I had just ['django'].
Now I seem to have overwritten all of django, because when I type python
manage.py shell I get
"no module named core.management"
-- Jeff
On Wed, Nov 23, 2011 at 2:15 PM, DrBloodmoney <[email protected]>wrote:
> On Wed, Nov 23, 2011 at 2:01 PM, Jeff Heard <[email protected]>
> wrote:
> > 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/
> __init__.py #<<<< needs init
> > 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/
> __init__.py #<<<< needs init and here
> > models.py
> > views.py
> > tasks.py
> > tests.py
> > urls.py
> > static/
> > templates/
>
> Make sure you add the __init__.py s to magically transform it into a module
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.