On Mar 31, 11:27 am, "Edward K. Ream" <[EMAIL PROTECTED]> wrote:

> 1. What directory structure must Leo have to make leo a package?

An Aha: I can explore this question without using distutils at all.
Indeed, I just manually copied the top-level leo directory to Python/
Lib/site-packages.  I then fired up python and imported leo:

Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import leo
>>> leo
<module 'leo' from 'c:\python25\lib\site-packages\leo\__init__.py'>
>>> leo.run()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'run'
>>> dir(leo)
['__builtins__', '__doc__', '__file__', '__name__', '__path__']

Duh!  leo.__init__.py is not sufficient to start Leo!

So this is the place to start.

Edward
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" 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/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to