1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
#!/usr/bin/env python
import os
from distutils.core import setup
from DistUtilsExtra.command import *
__version__ = '0.4-rc'
#Remove MANIFEST file, since distutils
#doesn't properly update it when
#the contents of directories changes.
if os.path.exists('MANIFEST'):
os.remove('MANIFEST')
setup(
name = 'MAT',
version = __version__,
description = 'Metadata Anonymisation Toolkit',
long_description = 'A Metadata Anonymisation Toolkit in Python, using python-hachoir',
author = 'jvoisin',
author_email = 'julien.voisin@dustri.org',
platforms = 'linux',
license = 'GPLv2',
url = 'https://mat.boum.org',
packages = ['MAT', 'MAT.hachoir_editor', 'MAT.bencode'],
scripts = ['mat', 'mat-gui'],
data_files = [
( 'share/applications', ['mat.desktop'] ),
( 'share/mat', ['data/FORMATS', 'data/mat.glade'] ),
( 'share/pixmaps', ['data/mat.png'] ),
( 'share/doc/mat', ['README', 'README.security'] ),
( 'share/man/man1', ['mat.1', 'mat-gui.1'] ),
( 'share/nautilus-python/extensions', ['nautilus/nautilus-mat.py'])
],
cmdclass = {
'build': build_extra.build_extra,
'build_i18n': build_i18n.build_i18n,
'build_help': build_help.build_help,
'build_icons': build_icons.build_icons,
'clean': clean_i18n.clean_i18n,
},
)
|