Merge lp:~xavinsky/openerp-web/trunk-web-xma into lp:openerp-web
Proposed by
xavinsky
Status: | Merged |
---|---|
Approved by: | Xavier (Open ERP) |
Approved revision: | 1346 |
Merged at revision: | 1357 |
Proposed branch: | lp:~xavinsky/openerp-web/trunk-web-xma |
Merge into: | lp:openerp-web |
Diff against target: |
110 lines (+36/-19) 2 files modified
openerp-web (+33/-9) setup.py (+3/-10) |
To merge this branch: | bzr merge lp:~xavinsky/openerp-web/trunk-web-xma |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Xavier (Open ERP) (community) | Approve | ||
Review via email: mp+80230@code.launchpad.net |
Description of the change
Installation openerp with
python setup.py install
In Debian wheezy didn't works for a lot of details.
I tried to fix it with this branch.
fix 1 : packages list with find_packages() in setup.py
Bug : 876308
fix 2 : script name error : scripts=
rename 1 : openerp-web.py => openerp-web
for coherence script name (openerp-server openerp-client)
fix 3 : default missing options.log_config in openerp-web
fix 4 : change sys.path.insert with addons path.
First try merge in another branch was review by Xavier.
In this new branch I try to fix better the problems.
To post a comment you must log in.
Merging it with just two small modifications:
* Removed the first `raise`, I'll let the second one handle the error error`[ 0] instead of a string raise, as I'm not fond of string raises and it seemed a better fit
* Used `OptionParser.
Thanks.
[0] http:// docs.python. org/library/ optparse. html#how- optparse- handles- errors