Author: js Date: 2008-07-16 01:46:24 +0200 (Wed, 16 Jul 2008) New Revision: 9942
Modified: trunk/setup_win32.py Log: Don't fail on setup_win32.py if docutil is not installed.
Modified: trunk/setup_win32.py =================================================================== --- trunk/setup_win32.py 2008-07-15 23:23:31 UTC (rev 9941) +++ trunk/setup_win32.py 2008-07-15 23:46:24 UTC (rev 9942) @@ -44,6 +44,18 @@ } }
+try: + import docutils.readers +except ImportError: + opts['py2exe']['includes'] = \ + opts['py2exe']['includes'].replace(',docutils.readers.*', '') + +try: + import docutils.writers.html4css1 +except ImportError: + opts['py2exe']['includes'] = \ + opts['py2exe']['includes'].replace(',docutils.writers.html4css1', '') + setup( name = 'Gajim', version = '0.11.4.4-svn',