Mercurial > urwid-satext
comparison 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 |
comparison
equal
deleted
inserted
replaced
130:406c310e52b5 | 131:331546daef20 |
---|---|
4 from ez_setup import use_setuptools | 4 from ez_setup import use_setuptools |
5 | 5 |
6 use_setuptools() | 6 use_setuptools() |
7 | 7 |
8 from setuptools import setup | 8 from setuptools import setup |
9 import sys | |
10 from os import path | |
11 from glob import glob | 9 from glob import glob |
12 | 10 |
13 name = "urwid_satext" | 11 name = "urwid_satext" |
14 | 12 |
15 setup( | 13 setup( |
31 "Intended Audience :: Developers", | 29 "Intended Audience :: Developers", |
32 ], | 30 ], |
33 packages=["urwid_satext"], | 31 packages=["urwid_satext"], |
34 data_files=[ | 32 data_files=[ |
35 ( | 33 ( |
36 path.join(sys.prefix, "share/locale/fr/LC_MESSAGES"), | 34 "share/locale/fr/LC_MESSAGES", |
37 ["i18n/fr/LC_MESSAGES/urwid_satext.mo"], | 35 ["i18n/fr/LC_MESSAGES/urwid_satext.mo"], |
38 ), | 36 ), |
39 ("share/doc/%s/examples" % name, glob("examples/*.py")), | 37 ("share/doc/%s/examples" % name, glob("examples/*.py")), |
40 ("share/doc/%s" % name, ["COPYING", "COPYING.LESSER", "README", "CHANGELOG"]), | 38 ("share/doc/%s" % name, ["COPYING", "COPYING.LESSER", "README", "CHANGELOG"]), |
41 ], | 39 ], |