Rob
> Last example I exprienced with, Peppy. I just wanted to have a look and test if
> it is compliant with European keyboards (STC story). It requires to "be
> installed" in site-packages
> No, it doesn't. As the README says, I don't recommend putting it in
site-packages.
Thanks for the reply. I'm really glad to see we are speaking the "same
language" (btw, mine is French). You are right, the README file I have
read indicates this. In my hurry, I stopped my reading at the
$ python setup.py install
line.
> Untar it and run it right out of the peppy-0.6.5
> directory with python peppy.py.
This is what I have done. unfortunately I get this
>c:\python25\pythonw -u "peppy.py"
Traceback (most recent call last):
File "peppy.py", line 8, in <module>
import peppy.main
File "C:\jm\nonjmpy\wxAppTierces\peppy63\peppy-0.6.5.tar\peppy-0.6.5\peppy\main.py", line 16, in <module>
from peppy.yapsy.plugins import *
File "C:\jm\nonjmpy\wxAppTierces\peppy63\peppy-0.6.5.tar\peppy-0.6.5\peppy\yapsy\__init__.py", line 13, in <module>
from peppy.about import AddCredit
File "C:\jm\nonjmpy\wxAppTierces\peppy63\peppy-0.6.5.tar\peppy-0.6.5\peppy\about.py", line 16, in <module>
from peppy.menu import *
File "C:\jm\nonjmpy\wxAppTierces\peppy63\peppy-0.6.5.tar\peppy-0.6.5\peppy\menu.py", line 18, in <module>
from lib.iconstorage import *
ImportError: No module named lib.iconstorage
>Exit code: 1
which indicates the main module has somehow difficulties to find the requested
modules. Is the sys.path updated correctly ? To tell you the truth, I did not inspect your application further.
> There is a setup.py in there, but it doesn't mean it has to be used.
Right, but the problem here is in my mind a little bit different. When one
get an application with a "setup file". It sounds, one *have to* use this
setup. Usually, Python application/scripts do not need to be installed.
Providing a setup is a little be ambiguous. I fall in this trap.
Jean-Michel Fauth, Switzerland.