[FIX] packaging: some changes for windows packaging.
bzr revid: vmt@openerp.com-20111219144437-mq6t8xj4ush2bxn8
This commit is contained in:
parent
15f4b2505a
commit
65144b9fb8
Binary file not shown.
After Width: | Height: | Size: 151 KiB |
Binary file not shown.
After Width: | Height: | Size: 139 KiB |
|
@ -104,12 +104,12 @@ Var MUI_TEMP
|
||||||
Var STARTMENU_FOLDER
|
Var STARTMENU_FOLDER
|
||||||
|
|
||||||
!define MUI_ABORTWARNING
|
!define MUI_ABORTWARNING
|
||||||
!define MUI_ICON ".\pixmaps\openerp-icon.ico"
|
!define MUI_ICON ".\install\openerp-icon.ico"
|
||||||
|
|
||||||
!define MUI_WELCOMEFINISHPAGE_BITMAP ".\pixmaps\openerp-intro.bmp"
|
!define MUI_WELCOMEFINISHPAGE_BITMAP ".\install\openerp-intro.bmp"
|
||||||
!define MUI_UNWELCOMEFINISHPAGE_BITMAP ".\pixmaps\openerp-intro.bmp"
|
!define MUI_UNWELCOMEFINISHPAGE_BITMAP ".\install\openerp-intro.bmp"
|
||||||
!define MUI_HEADERIMAGE
|
!define MUI_HEADERIMAGE
|
||||||
!define MUI_HEADERIMAGE_BITMAP ".\pixmaps\openerp-slogan.bmp"
|
!define MUI_HEADERIMAGE_BITMAP ".\install\openerp-slogan.bmp"
|
||||||
!define MUI_HEADERIMAGE_BITMAP_NOSTRETCH
|
!define MUI_HEADERIMAGE_BITMAP_NOSTRETCH
|
||||||
!define MUI_HEADER_TRANSPARENT_TEXT ""
|
!define MUI_HEADER_TRANSPARENT_TEXT ""
|
||||||
|
|
||||||
|
|
7
setup.py
7
setup.py
|
@ -38,12 +38,17 @@ def data():
|
||||||
else:
|
else:
|
||||||
d[k]=[v]
|
d[k]=[v]
|
||||||
r = d.items()
|
r = d.items()
|
||||||
|
if os.name == 'nt':
|
||||||
|
r.append(("Microsoft.VC90.CRT", glob.glob('C:\Microsoft.VC90.CRT\*.*')))
|
||||||
return r
|
return r
|
||||||
|
|
||||||
def gen_manifest():
|
def gen_manifest():
|
||||||
file_list="\n".join(data())
|
file_list="\n".join(data())
|
||||||
open('MANIFEST','w').write(file_list)
|
open('MANIFEST','w').write(file_list)
|
||||||
|
|
||||||
|
if os.name == 'nt':
|
||||||
|
sys.path.append("C:\Microsoft.VC90.CRT")
|
||||||
|
|
||||||
def py2exe_options():
|
def py2exe_options():
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
import py2exe
|
import py2exe
|
||||||
|
@ -54,7 +59,7 @@ def py2exe_options():
|
||||||
"skip_archive": 1,
|
"skip_archive": 1,
|
||||||
"optimize": 2,
|
"optimize": 2,
|
||||||
"dist_dir": 'dist',
|
"dist_dir": 'dist',
|
||||||
"packages": [ "DAV", "HTMLParser", "PIL", "asynchat", "asyncore", "commands", "dateutil", "decimal", "email", "encodings", "imaplib", "lxml", "lxml._elementpath", "lxml.builder", "lxml.etree", "lxml.objectify", "mako", "openerp", "poplib", "pychart", "pydot", "pyparsing", "reportlab", "select", "simplejson", "smtplib", "uuid", "vatnumber", "vobject", "xml", "xml.dom", "xml.xpath", "yaml", ],
|
"packages": [ "DAV", "HTMLParser", "PIL", "asynchat", "asyncore", "commands", "dateutil", "decimal", "email", "encodings", "imaplib", "lxml", "lxml._elementpath", "lxml.builder", "lxml.etree", "lxml.objectify", "mako", "openerp", "poplib", "pychart", "pydot", "pyparsing", "reportlab", "select", "simplejson", "smtplib", "uuid", "vatnumber", "vobject", "xml", "xml.dom", "yaml", ],
|
||||||
"excludes" : ["Tkconstants","Tkinter","tcl"],
|
"excludes" : ["Tkconstants","Tkinter","tcl"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue