diff options
| author | jvoisin | 2012-02-01 22:56:04 +0100 |
|---|---|---|
| committer | jvoisin | 2012-02-01 22:56:04 +0100 |
| commit | 544fe9bf1782a027b3f31bf4c10a050d783e32ac (patch) | |
| tree | a8dd60b9ae45efea4875fdb827070531f0199717 /setup.py | |
| parent | 9ea6dc6960cebfa70d18ba8ee49d775ea91c9b34 (diff) | |
Rename mat-cli to mat-gui
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -7,7 +7,7 @@ import subprocess | |||
| 7 | 7 | ||
| 8 | from distutils.core import setup | 8 | from distutils.core import setup |
| 9 | 9 | ||
| 10 | from mat import mat | 10 | from 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'] ), |
