1 Some instructions to use setup.py for a user-install.
2 This file should/will be moved on a proper documentation place later.
4 - Possibly clean any left-over of the previous build.
5 > rm -rf dist openerp_server.egg-info
7 - Possibly copy the addons in the server if we want them to be packaged
11 --exclude .bzrignore \
12 --exclude /__init__.py \
14 --exclude /base_quality_interrogation.py \
15 <path-to-addons> openerp/addons
17 - Create the user-local directory where we want the package to be installed:
18 > mkdir -p /home/openerp/openerp-tmp/lib/python2.6/site-packages/
20 - Use --prefix to specify where the package is installed and include that
22 > PYTHONPATH=/home/openerp/openerp-tmp/lib/python2.6/site-packages/ \
23 python setup.py install --prefix=/home/openerp/openerp-tmp
25 - Run the main script, again specifying the PYTHONPATH:
26 > PYTHONPATH=/home/openerp/openerp-tmp/lib/python2.6/site-packages/ \
27 /home/openerp/openerp-tmp/bin/openerp-server