Hello,
Could you guys explain how sub folders get installed and entry point
search is performed?
Here is a problem.
I have a project that uses custom setup.py which I want to convert to
the way paster would create it, but I get import error
from myapp.lib.event import *
ImportError: No module named lib.event
Here is my setup.py:
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
package_data = {'myapp' : ['ui/templates/*.html', 'ui/templates/content/*']},
I was under the impression that find_packages will do what I need?!!
How can I properly setup the subfolders, I assume I need to put
something in __init__.py in every subfolder? But what?
This is the final structure?!!! What should be in __init__.py files?
myapp
|-- __init__.py
|-- __init__.pyc
|-- lib
| |-- __init__.py
| |-- __init__.pyc
| `-- event.py
Ideas?
Lucas
_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users