Mercurial > libervia-backend
changeset 2640:f93619e16ea0
install (setup.py): don't use sys.prefix for locales
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 08 Jul 2018 18:37:36 +0200 |
parents | 266f871fcb4b |
children | b42aa52d2621 |
files | setup.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Sun Jul 08 11:15:22 2018 +0200 +++ b/setup.py Sun Jul 08 18:37:36 2018 +0200 @@ -20,7 +20,6 @@ from setuptools import setup, find_packages import os -import sys NAME = 'sat' @@ -92,7 +91,7 @@ 'Operating System :: POSIX :: Linux', 'Topic :: Communications :: Chat'], packages=find_packages() + ['twisted.plugins'], - data_files=[(os.path.join(sys.prefix, 'share/locale/fr/LC_MESSAGES'), + data_files=[('share/locale/fr/LC_MESSAGES', ['i18n/fr/LC_MESSAGES/sat.mo']), (os.path.join('share/doc', NAME), ['CHANGELOG', 'COPYING', 'INSTALL', 'README', 'README4TRANSLATORS']),