Mercurial > urwid-satext
diff setup.py @ 131:331546daef20
install (setup.py): don't force sys.prefix for locales
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 08 Jul 2018 18:02:21 +0200 |
parents | 406c310e52b5 |
children | 86287fcbf638 |
line wrap: on
line diff
--- a/setup.py Wed Jul 04 07:45:36 2018 +0200 +++ b/setup.py Sun Jul 08 18:02:21 2018 +0200 @@ -6,8 +6,6 @@ use_setuptools() from setuptools import setup -import sys -from os import path from glob import glob name = "urwid_satext" @@ -33,7 +31,7 @@ packages=["urwid_satext"], data_files=[ ( - path.join(sys.prefix, "share/locale/fr/LC_MESSAGES"), + "share/locale/fr/LC_MESSAGES", ["i18n/fr/LC_MESSAGES/urwid_satext.mo"], ), ("share/doc/%s/examples" % name, glob("examples/*.py")),