[Python-Dev] Towards a Python based import scheme

Jim Fulton jim@digicool.com
Thu, 16 Sep 1999 10:56:53 -0400


"M.-A. Lemburg" wrote:
> 
>  a working __path__ implementation (is anyone using this attribute
>   which only is available in packages ?)

Yes. I use it for two things:

  - I modify it to allow a (logical) package to be spread over
    multiple physical locations. (In Zope, products can be installed
    in the Zope installation area or in Zope "instance" homes.

  - I use it to determine the location(s) of a package.
    Our packages usually contain many files, such as DTML
    source files, images, data files, etc., that are not Python
    modules.  We have standard utilities for getting at these files
    in packages.  This is extremely useful.

Jim

--
Jim Fulton           mailto:jim@digicool.com   Python Powered!        
Technical Director   (888) 344-4332            http://www.python.org  
Digital Creations    http://www.digicool.com   http://www.zope.org    

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.