johndrinkwater / ambient-noise

[Fork of .bzr repo] An ambient noise player

Home Page:https://launchpad.net/anoise

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix‐up setup.py

johndrinkwater opened this issue · comments

Either move to the modern method, or discover how to make setup mung the launch script for the various installation locations the user could pick (--user, --prefix, etc)

With how the current script is designed, it file‐copies everything in anoise/ into a share/anoise location and the bin assumes the location; most python tools that use this method don’t copy the ‘module’ files like this, so can just rely on import to transclude the relevant files.

Looked into this as part of https://bugs.launchpad.net/anoise/+bug/1528449 and it aint just as simple as fixing those /usr/ prefixes in the data [].

More info on this: will need to bindtextdomain('anoise', locale_dir) to make it not use system-wide translations, a further adjustment required for setup.py