From 544fe9bf1782a027b3f31bf4c10a050d783e32ac Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 1 Feb 2012 22:56:04 +0100 Subject: Rename mat-cli to mat-gui --- setup.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 7847163..77ba00d 100755 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ import subprocess from distutils.core import setup -from mat import mat +from lib import mat #Remove MANIFEST file, since distutils #doesn't properly update it when @@ -20,7 +20,7 @@ def l10n(): ''' Compile .po files to .mo ''' - for language in glob.glob('locale/*'): + for language in glob.glob('locale/*/'): fpath = os.path.join(language, 'LC_MESSAGES', 'mat-gui.po') output = fpath[:-2] + 'mo' subprocess.call(['msgfmt', fpath, '-o', output]) @@ -36,8 +36,8 @@ setup( platforms = 'linux', license = 'GPLv2', url = 'https://mat.boum.org', - packages = ['mat', 'mat.hachoir_editor', 'mat.bencode', 'mat.tarfile'], - scripts = ['mat-cli', 'mat-gui'], + packages = ['lib', 'lib.hachoir_editor', 'lib.bencode', 'lib.tarfile'], + scripts = ['mat', 'mat-gui'], data_files = [ ( 'share/applications', ['mat.desktop'] ), ( 'share/mat', ['FORMATS'] ), -- cgit v1.3