~andrewsomething/groundcontrol/i11n-support

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Andrew Starr-Bochicchio
  • Date: 2010-02-01 17:27:45 UTC
  • Revision ID: a.starr.b@gmail.com-20100201172745-iv3sl2ihgd6zq9nd
Remove setup.cfg and handle desktop file merging directly in setup.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
else:
37
37
        man_dir = 'share/man'
38
38
 
 
39
TOP_BUILDDIR='.'
 
40
INTLTOOL_MERGE='intltool-merge'
 
41
desktop_in='groundcontrol.desktop.in'
 
42
desktop_data='groundcontrol.desktop'
 
43
os.system ("C_ALL=C " + INTLTOOL_MERGE + " -d -u -c " + TOP_BUILDDIR +
 
44
           "/po/.intltool-merge-cache " + TOP_BUILDDIR + "/po " +
 
45
           desktop_in + " " + desktop_data)
 
46
 
39
47
# We generate a custom install_lib so we can monkey around with __init__.py
40
48
class InstallLib(install_lib):
41
49
    def install(self):