Package: supysonic
Version: 0.6.2+ds-3
Severity: normal

The WSGI file we're shipping in Debian doesn't work, because the python
files are outside of the regular PYTHONPATH. This results in a
`supysonic module not found` error.

This one works though:

-------------------------------------------
import sys, os

path_to_app = "/usr/share/supysonic"

sys.path.insert(0, path_to_app)

from supysonic.web import create_application
application = create_application()
-------------------------------------------

Upstream has stopped shipping those files anyway, so we'll have to
provide one regardless.

-- 
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
  ⢿⡄⠘⠷⠚⠋   po...@debian.org / veronneau.org
  ⠈⠳⣄

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to