Hi,

I have a quickstart project setup, and inserted a pre-existing
package/folder of my own python code in it:

- myturboproject
    - setup.py
    - dev.cfg
    - prod.cfg
    - myturboproject
        - __init__.py
        - controllers.py
        - model.py
        - mypythoncodeFolder
            - mypythonfile1.py
            ....

mypythonfile1.py imports from model.py

I can run things fine from the tg-admin shell, but in TextMate, when I
run mypythfile1.py's main function (which runs unit tests), I get an
import error. It happens whether mypythonfile1.py contains

from model import *

or

from myturboproject.model import *

Also, my PYHTONPATH variable includes the root myturboproject folder.

Any advice on what I need to do to get this running TextMate?  I
realize it is not entirely TG related ,but thought that people must
have dealt with this given the popularity of using TurboGears.

Thanks,

Jim


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to