[FIX] account : default date on statement lines should be the statement date
[odoo/odoo.git] / setup.README
1 Some instructions to use setup.py for a user-install.
2 This file should/will be moved on a proper documentation place later.
3
4 - Possibly clean any left-over of the previous build.
5   > rm -rf dist openerp_server.egg-info
6
7 - Possibly copy the addons in the server if we want them to be packaged
8   together:
9   > rsync -av --delete \
10     --exclude .bzr/ \
11     --exclude .bzrignore \
12     --exclude /__init__.py \
13     --exclude /base \
14     --exclude /base_quality_interrogation.py \
15     <path-to-addons> openerp/addons
16
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/
19
20 - Use --prefix to specify where the package is installed and include that
21   place in PYTHONPATH:
22   > PYTHONPATH=/home/openerp/openerp-tmp/lib/python2.6/site-packages/ \
23     python setup.py install --prefix=/home/openerp/openerp-tmp
24
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