[Python-apps-team] PYTHONPATH in debian/rules

Stefano Rivera stefanor at debian.org
Wed Jul 25 08:39:47 UTC 2012


Hi BRAGA, (2012.07.25_09:31:47_+0200)
> To help a bit on the error above, here is my directory structure:
> termsaver package is a standalone app installed on /usr/share/
> 
> $ tree /usr/share/termsaver/
> /usr/share/termsaver/
> ├── termsaver
> ├── termsaver-0.1.2.egg-info
> └── termsaverlib
>     ├── common.py
>     ├── constants.py
>     ├── exception.py
>     ├── i18n.py
>     ├── __init__.py
>     ├── plugins
>     │   ├── __init__.py

Well, sure, then you need PYTHONPATH=/usr/share/termsaver/
Otherwise it won't find that.

So, throw an export PYTHONPATH=/usr/share/termsaver into debian/rules?

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 461 1230 C: +27 72 419 8559



More information about the Python-apps-team mailing list