On Sat, Sep 19, 2009 at 2:48 PM, Kyle MacFarlane
<kylemacfarl...@gmail.com> wrote:
> The way setuptools (and thus buildout) does namespace packages doesn't work
> with how Django looks for management commands. Django only looks in the
> first package in the namespace on the system path and ignores the rest.

[...]

> So what is the proper way to do this? Django people are saying don't use
> setuptools but everything seems to rely on setuptools.

Namespace packages are a feature of setuptools [1]. If you don't want
to use setuptools, you cannot use namespace packages. You have to
choose either or.

I'd try to convince the Django folks to make their "management console
lookup" pluggable in some way, so you could implement a
setuptools-aware lookup and use it instead.

Hanno

[1] http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to