~ubuntu-branches/debian/lenny/pondus/lenny

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Bazaar Package Importer
  • Author(s): Eike Nicklas
  • Date: 2008-05-16 01:12:20 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080516011220-zp5nsgql61lbs1or
Tags: 0.4.1-1
new upstream bugfix release

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
    """Creates the .mo files to be distributed with the source."""
53
53
    mo_dir = 'po/mo'
54
54
    if not os.path.exists(mo_dir):
55
 
        for lang in ['de']:
 
55
        for lang in ['de', 'fr']:
56
56
            po_file = os.path.join('po', lang + '.po')
57
57
            mo_dir_lang = os.path.join(mo_dir, lang, 'LC_MESSAGES')
58
58
            mo_file = os.path.join(mo_dir_lang, 'pondus.mo')
91
91
        ('share/pixmaps', ['data/icons/pondus.xpm']),
92
92
        ('share/icons/hicolor/48x48/apps', ['data/icons/pondus.png']),
93
93
        ('share/icons/hicolor/scalable/apps', ['data/icons/pondus.svg']),
94
 
        ('share/locale/de/LC_MESSAGES', ['po/mo/de/LC_MESSAGES/pondus.mo'])],
 
94
        ('share/locale/de/LC_MESSAGES', ['po/mo/de/LC_MESSAGES/pondus.mo']),
 
95
        ('share/locale/fr/LC_MESSAGES', ['po/mo/fr/LC_MESSAGES/pondus.mo'])],
95
96
      package_dir = {'pondus': 'src/pondus'},
96
97
      packages = ['pondus', 'pondus.core', 'pondus.gui'],
97
98
      requires = ['python(>= 2.4)', 'pygtk(>=2.6)', 'matplotlib']