- return files
-
-f = file('openerp-server','w')
-f.write("""#!/bin/sh
-echo "Error: the content of this file should have been replaced during "
-echo "installation\n"
-exit 1
-""")
-f.close()
-
-def find_package_dirs():
- package_dirs = {'openerp-server': 'bin'}
- for mod, path in find_addons():
- package_dirs['openerp-server.addons.' + mod] = path
- return package_dirs
-
-class openerp_server_install(install):
- def run(self):
- # create startup script
- start_script = "#!/bin/sh\ncd %s\nexec %s ./openerp-server.py $@\n"\
- % (join(self.install_libbase, "openerp-server"), sys.executable)
- # write script
- f = open('openerp-server', 'w')
- f.write(start_script)
- f.close()
- install.run(self)
-
-
-
-options = {
- "py2exe": {
- "compressed": 1,
- "optimize": 2,
- "dist_dir": 'dist',
- "packages": [
- "lxml", "lxml.builder", "lxml._elementpath", "lxml.etree",
- "lxml.objectify", "decimal", "xml", "xml", "xml.dom", "xml.xpath",
- "encodings", "dateutil", "wizard", "pychart", "PIL", "pyparsing",
- "pydot", "asyncore","asynchat", "reportlab", "vobject",
- "HTMLParser", "select", "mako", "poplib",
- "imaplib", "smtplib", "email", "yaml", "DAV",
- "uuid", "commands",
- ],
- "excludes" : ["Tkconstants","Tkinter","tcl"],
- }
-}
+# Notes for OpenERP developer on windows:
+#
+# To setup a windows developer evironement install python2.7 then pip and use
+# "pip install <depencey>" for every dependency listed below.
+#
+# Dependecies that requires DLLs are not installable with pip install, for
+# them we added comments with links where you can find the installers.
+#
+# OpenERP on windows also require the pywin32, the binary can be found at
+# http://pywin32.sf.net
+#
+# Both python2.7 32bits and 64bits are known to work.