summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/setup.py b/setup.py
index 7847163..77ba00d 100755
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ import subprocess
7 7
8from distutils.core import setup 8from distutils.core import setup
9 9
10from mat import mat 10from lib import mat
11 11
12#Remove MANIFEST file, since distutils 12#Remove MANIFEST file, since distutils
13#doesn't properly update it when 13#doesn't properly update it when
@@ -20,7 +20,7 @@ def l10n():
20 ''' 20 '''
21 Compile .po files to .mo 21 Compile .po files to .mo
22 ''' 22 '''
23 for language in glob.glob('locale/*'): 23 for language in glob.glob('locale/*/'):
24 fpath = os.path.join(language, 'LC_MESSAGES', 'mat-gui.po') 24 fpath = os.path.join(language, 'LC_MESSAGES', 'mat-gui.po')
25 output = fpath[:-2] + 'mo' 25 output = fpath[:-2] + 'mo'
26 subprocess.call(['msgfmt', fpath, '-o', output]) 26 subprocess.call(['msgfmt', fpath, '-o', output])
@@ -36,8 +36,8 @@ setup(
36 platforms = 'linux', 36 platforms = 'linux',
37 license = 'GPLv2', 37 license = 'GPLv2',
38 url = 'https://mat.boum.org', 38 url = 'https://mat.boum.org',
39 packages = ['mat', 'mat.hachoir_editor', 'mat.bencode', 'mat.tarfile'], 39 packages = ['lib', 'lib.hachoir_editor', 'lib.bencode', 'lib.tarfile'],
40 scripts = ['mat-cli', 'mat-gui'], 40 scripts = ['mat', 'mat-gui'],
41 data_files = [ 41 data_files = [
42 ( 'share/applications', ['mat.desktop'] ), 42 ( 'share/applications', ['mat.desktop'] ),
43 ( 'share/mat', ['FORMATS'] ), 43 ( 'share/mat', ['FORMATS'] ),