summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsetup.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/setup.py b/setup.py
index 0d75719..712474f 100755
--- a/setup.py
+++ b/setup.py
@@ -8,16 +8,17 @@ prefix="/usr"
pyscripts = ["fusion-desktop-effects"]
scripts = ["compiz-fusion-gtk"]
desktopfiles = ['compiz-fusion-gtk.desktop','fusion-desktop-effects.desktop']
-pofiles = []
+podir = "po/"
+
+mofiles = []
-podir = os.path.join (os.path.realpath ("."), "po")
if os.path.isdir (podir):
mopath = "build/locale/%s/fusion-desktop-effects.mo"
destpath = "share/locale/%s/LC_MESSAGES"
for name in os.listdir (podir):
if name[-2:] == "po":
name = name[:-3]
- pofiles.append ((destpath % name, [mopath % name]))
+ mofiles.append ((destpath % name, [mopath % name]))
def simple_getopt(l,var):
@@ -73,7 +74,6 @@ class build(_build):
if not os.path.isdir ("build/locale/" + name):
os.makedirs ("build/locale/" + name)
subprocess.Popen(buildcmd % (name, name),shell=True)
- pofiles.append ((destpath % name, [mopath % name]))
_build.run(self)