On Wed, Jan 25, 2017 at 6:32 AM, Laurent DAVERIO <[email protected]> wrote:
> OK, it works, provided I reinstate the symlink: > > ldc/ldc/shop --> ldc.shop/ldc/shop > > Python namespace packages are really kludgy, it's a disappointment. > Python is usually smarter... > I won't deny that namespace packages are kludgy but it does sound like you're not quite doing it right. The namespace declaration should be in each `__init__.py` from each separately distributed package. It sounds like 1) you are not defining the package as a namespace in *every* copy of the package's `__init__.py` and 2) you are not distributing them separately and are instead just symlinking them together into a single package - thus not really utilizing namespace packages as far as Python is concerned. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAKdhhwFOgDizKP6mDb8CSoVfgFnmZEAdq_B0CLodYH5JiW7aig%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
