Fix building on win32. There is no import named roman.
This commit is contained in:
parent
5a5937d96d
commit
766284354c
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ except ImportError:
|
||||||
else:
|
else:
|
||||||
fill_docutils_files(os.path.join(sys.prefix, 'Lib', 'site-packages'))
|
fill_docutils_files(os.path.join(sys.prefix, 'Lib', 'site-packages'))
|
||||||
docutils_files.append((os.path.join('docutils', 'writers', 'html4css1'),
|
docutils_files.append((os.path.join('docutils', 'writers', 'html4css1'),
|
||||||
glob.glob(os.path.join(sys.prefix, 'Lib', 'site-packages', 'docutils',
|
glob.glob(os.path.join(sys.prefix, 'Lib', 'site-packages', 'docutils',
|
||||||
'writers', 'html4css1', '*.css'))))
|
'writers', 'html4css1', '*.css'))))
|
||||||
|
|
||||||
sys.path.append('src')
|
sys.path.append('src')
|
||||||
|
@ -52,7 +52,7 @@ if 'gtk' in os.listdir('.'):
|
||||||
opts = {
|
opts = {
|
||||||
'py2exe': {
|
'py2exe': {
|
||||||
# ConfigParser,UserString,roman are needed for docutils
|
# ConfigParser,UserString,roman are needed for docutils
|
||||||
'includes': 'pango,atk,gobject,cairo,pangocairo,gtk.keysyms,encodings,encodings.*,ConfigParser,UserString,roman',
|
'includes': 'pango,atk,gobject,cairo,pangocairo,gtk.keysyms,encodings,encodings.*,ConfigParser,UserString',
|
||||||
'dll_excludes': [
|
'dll_excludes': [
|
||||||
'iconv.dll','intl.dll','libatk-1.0-0.dll',
|
'iconv.dll','intl.dll','libatk-1.0-0.dll',
|
||||||
'libgdk_pixbuf-2.0-0.dll','libgdk-win32-2.0-0.dll',
|
'libgdk_pixbuf-2.0-0.dll','libgdk-win32-2.0-0.dll',
|
||||||
|
|
Loading…
Add table
Reference in a new issue