install (setup.py): don't use sys.prefix for locales
This commit is contained in:
parent
9e03d02f18
commit
a3ed513ee1
1 changed files with 1 additions and 2 deletions
3
setup.py
3
setup.py
|
|
@ -20,7 +20,6 @@
|
|||
|
||||
from setuptools import setup, find_packages
|
||||
import os
|
||||
import sys
|
||||
|
||||
NAME = 'sat'
|
||||
|
||||
|
|
@ -92,7 +91,7 @@ setup(name=NAME,
|
|||
'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']),
|
||||
|
|
|
|||
Loading…
Reference in a new issue