Phillip J. Eby <pje <at> telecommunity.com> writes:
> Ah, here's where your problem is.  Instead of using get_python_lib() 
> to find the default package directory, i.e.:
> 
>   LIBPREFIX = distutils.sysconfig.get_python_lib() + '/pyspread/'
>   ICONPREFIX = distutils.sysconfig.get_python_lib() + '/pyspread/'
> 
> Do this instead:
> 
>   import os.path
>   LIBPREFIX = ICONPREFIX = os.path.dirname(__file__)

This works great.

Thank you for all your help (also to Robert Kern).

Best Regards

Martin






_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to