summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorVo Minh Thu <vmt@openerp.com>2011-12-19 15:44:37 +0100
committerVo Minh Thu <vmt@openerp.com>2011-12-19 15:44:37 +0100
commit65144b9fb86d78232536c638d80e30466470a2a3 (patch)
tree9ea4a54fa8761f55732cd3ebafc78dc88230e463 /setup.py
parent15f4b2505acd19228d051ce79d8459d58e944f76 (diff)
[FIX] packaging: some changes for windows packaging.
bzr revid: vmt@openerp.com-20111219144437-mq6t8xj4ush2bxn8
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index ac02cf43e72..10c98d726f1 100755
--- a/setup.py
+++ b/setup.py
@@ -38,12 +38,17 @@ def data():
else:
d[k]=[v]
r = d.items()
+ if os.name == 'nt':
+ r.append(("Microsoft.VC90.CRT", glob.glob('C:\Microsoft.VC90.CRT\*.*')))
return r
def gen_manifest():
file_list="\n".join(data())
open('MANIFEST','w').write(file_list)
+if os.name == 'nt':
+ sys.path.append("C:\Microsoft.VC90.CRT")
+
def py2exe_options():
if os.name == 'nt':
import py2exe
@@ -54,7 +59,7 @@ def py2exe_options():
"skip_archive": 1,
"optimize": 2,
"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"],
}
}