~marel-software/marelinux/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from distutils.core import setup

import glob, os.path

# From emesene:
mo_files = []
for filepath in glob.glob("locales/*/LC_MESSAGES/*.mo"):
    lang = filepath[len("locales/"):]
    targetpath = os.path.dirname(os.path.join("share/locale", lang))
    mo_files.append((targetpath, [filepath]))

setup(name='marelinux',
      version='0.1.0',
      description  = 'Utility to backup and restore partitions',
      author       = 'Stefano Karapetsas',
      author_email = 'stefano.karapetsas@marelsoftware.com',
      url          = 'http://marelinux.marelsoftware./',
      license      = 'GNU GPL 3',
      scripts      = ['marelinux.py'],
      data_files   = [('share/pixmaps', ['marelinux.png']),
                      ('share/applications', ['marelinux.desktop'])] + mo_files,
      )