Changeset 45143
- Timestamp:
- 05/02/06 16:19:43 (2 years ago)
- Files:
-
- ooo2dbk/trunk/__init__.py (modified) (2 diffs)
- ooo2dbk/trunk/setup.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
ooo2dbk/trunk/__init__.py
r29929 r45143 2 2 # OOo2DBK : OpenOffice.org Writer document to DocBook XML converter 3 3 #================================================================== 4 # (C) Copyright 200 4-2005 Nuxeo SARL<http://nuxeo.com>4 # (C) Copyright 2006 Nuxeo SAS <http://nuxeo.com> 5 5 # (C) Copyright Eric Bellot <ebellot@netcourrier.com> 6 6 # … … 27 27 # 28 28 # $Id$ 29 from ooo2dbk import convert, execArgs 29 #from ooo2dbk import execArgs, convert 30 30 ooo2dbk/trunk/setup.py
r30124 r45143 1 1 # $Id$ 2 """File for compiling ooo2dbk into executable on win32 with py2exe""" 2 """setup install 3 4 """ 3 5 from distutils.core import setup 4 import py2exe 6 import os 7 import platform 5 8 6 setup(console=['ooo2dbk']) 9 if platform.system() == 'Windows': 10 #File for compiling ooo2dbk into executable on win32 with py2exe 11 import py2exe 12 setup(console=['ooo2dbk']) 13 14 elif platform.system() == 'Linux': 15 os.system('patch -p1 <distrib.patch') 16 setup(name='ooo2dbk', 17 version='1.5.0', 18 package_dir={'ooo2dbk': '.'}, 19 scripts=['ooo2dbk', 'ole2img.py'], 20 data_files=[('/etc', ['ooo2dbk.xml',]), 21 ('/usr/share/xml/ooo2dbk', ['ooo2dbk-fo.xsl', 22 'docbook-psmi.xsl', 23 'ooo2dbk.xsl']), 24 ('/usr/doc/ooo2dbk', ['README.txt', 25 'HISTORY', 26 'COPYING', 27 'CHANGES', 28 'doc/ABOUT.txt', 29 'doc/howto-use_psmi.txt', 30 'doc/ooo2dbk.1', 31 'doc/TODO.txt', 32 'ooo/templateOOo2dbk-fr.stw', 33 'ooo/templateOOo2dbk-en.stw',]), 34 ] 35 )
