andrew cooke wrote:
I now want to distribute large optional chunks separately, but ideally
so that the following will will work:
from mortar.rbd import ...
from mortar.zodb import ...
from mortar.wsgi import ...
i may be misunderstanding, but i think you can already do this.
in lepl i have code spread across many modules (equivalent to your
mortar.rbd, i have lepl.matchers etc). then in lepl/__init__.py i import
those and define __this__ to export them into the lepl namespace. so you
can import either do:
Okay, but do you:
- distribute lepl.matchers in a seperate distribution to lepl?
- have actual code in the lepl package?
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
--
http://mail.python.org/mailman/listinfo/python-list