OpenERP Make exe from sources Guide
================================
1. Install theses packages
nsis2.40setup.exe
graphviz2.20.2.exe
python2.5.2.msi
egenixmxbase3.1.1.win32py2.5.msi
PyXML0.8.4.win32py2.5.exe
libxml2python2.7.1.win32py2.5.exe
lxml2.1.2.win32py2.5.exe
matplotlib0.98.3.win32py2.5.exe
numpy1.1.1win32superpackpython2.5.exe
PIL1.1.6.win32py2.5.exe
PyChart1.39.win32.exe ( created by Stephane Wirtel )
ReportLab2.2.win32py2.5.exe
vobject0.7.1.win32.exe ( created by Stephane Wirtel )
pygobject2.14.11.win32py2.5.exe
pygtk2.12.12.win32py2.5.exe
pycairo1.4.121.win32py2.5.exe
gtk2.12.9win322.exe
gtkdev2.12.9win322.exe
pydot1.0.2.win32.exe ( created by Stephane Wirtel ) pyparsing1.5.0.win32.exe
pytz2008i.win32.exe ( created by Stephane Wirtel )
pywin32212.win32py2.5.exe
py2exe0.6.8.win32py2.5.exe
hippocanvas0.3.0win32.zip Uncompess this archive, and copy/paste the files
"libhippocanvas10.dll" and "hippo.pyd" into C:\Python25\DLLs\
msvcp71.zip Uncompress this archive and copy the msvcp71.dll into c:\WINDOWS\SYSTEM32
psycopg22.0.8.win32py2.5pg8.3.4release.exe
you can install the setuptools package:
setuptools0.6c9.win32py2.5.exe
2. How to get the sources
Firstly, create a directory to store the files
c:> mkdir c:\openerp
c:> trunkcd openerp
c:\openerp> mkdir
c:\openerp> cd trunk
c:\openerp\trunk> bzr clone lp:~openerp/openobjectserver/trunk server
c:\openerp\trunk> bzr clone lp:~openerp/openobjectclient/trunk client
c:\openerp\trunk> bzr clone lp:~openerp/openobjectaddons/trunk addons
3. Prepare the ground
Copy all addons into the addons directory of the server, to include these addons in the archive
c:\openerp\trunk> xcopy addons\* server\bin\addons E
4. Package the server
c:\openerp\trunk> cd server
c:\openerp\trunk\server> python setup.py py2exe
c:\openerp\trunk\server> cd win32
c:\openerp\trunk\server\win32> python setup.py py2exe
c:\openerp\trunk\server\win32> cd ..
c:\openerp\trunk\server> makensis /DVERSION=5.0.0alpha setup.nsi
After this instruction, you will get a new file openerpserversetup5.0.0alpha.exe
5. Package the client
c:\openerp\trunk> cd client
c:\openerp\trunk\client> python setup.py py2exe
c:\openerp\trunk\client> makensis /DVERSION=5.0.0alpha setup.nsi
After this instruction, you will get a new file openerpclientsetup5.0.0alpha.exe
References:
http://www.openobject.com/forum/post36414.html?sid=4d7ea2ffc20cd97f761ea43fe2d7840b
http://www.openobject.com/forum/post37242.html?sid=33943b300ab3436dc7e6f347e640c0ef
Wednesday, June 24, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment