Skip to content
Snippets Groups Projects
Commit abec83fa authored by js's avatar js
Browse files

Don't fail on setup_win32.py if docutil is not installed.

parent 3bd76e40
No related branches found
No related tags found
No related merge requests found
...@@ -44,6 +44,18 @@ opts = { ...@@ -44,6 +44,18 @@ opts = {
} }
} }
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( setup(
name = 'Gajim', name = 'Gajim',
version = '0.11.4.4-svn', version = '0.11.4.4-svn',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment