3
from distutils.version import StrictVersion
8
import DistUtilsExtra.auto
11
print >> sys.stderr, 'To build webservice-office-zoho you need https://launchpad.net/python-distutils-extra'
14
assert StrictVersion(DistUtilsExtra.auto.__version__) >= '2.4', 'needs DistUtilsExtra.auto >= 2.4'
16
packageFolder = 'share/webservice-office-zoho'
18
DistUtilsExtra.auto.setup(
19
name='webservice-office-zoho',
21
description='Ubuntu web service for office documents using Zoho',
22
long_description='webservice-office-zoho allows office documents to be viewed online using the Zoho web services',
23
url='http://launchpad.net/webservice-office-zoho',
25
author='Jamie Bennett',
26
author_email='jb@canonical.com',
27
scripts=['bin/webservice-office-zoho'],
28
data_files=[(packageFolder, ['doc/empty-zoho-document.odt',
29
'doc/empty-zoho-document.ods',
30
'doc/empty-zoho-document.odp']),
31
('share/icons/hicolor/32x32/apps', glob.glob("images/icons/32x32/*.png")),
32
('share/icons/hicolor/24x24/apps', glob.glob("images/icons/24x24/*.png")),
33
('share/icons/hicolor/22x22/apps', glob.glob("images/icons/22x22/*.png")),
34
('share/icons/hicolor/16x16/apps', glob.glob("images/icons/16x16/*.png")),
35
('share/icons/hicolor/12x12/apps', glob.glob("images/icons/12x12/*.png"))]