Comment 6 for bug 872925

Revision history for this message
xavinsky (xavinsky) wrote :

Hello Naresh.

    I planed work on openerp installers when I come back in France (14 novembre).
I will propose others fix that's work on more plateform.

  I installed some Virtual Machines (all SMP):
  debian squeeze
  debian wheezy
  ubuntu 11.10 Server
  ubuntu 11.10 Deskstop
  windows server 2008R2.
I will install soon another
  gentoo

  It's possible that I will build no SMP plateform and ubuntu 11.04 too... but I'm not yet sure.

  After, my plan is test and fix install in virtual env and standard install with python 2.6 and 2.7 for all of them.
Should be interresting to know what is the platform of Amit Parik, for add it to test.

  For know, if you want to change mydistutils.py
my advise for now is keep the new and old path in start script define
openerp_site_packages_v1 and openerp_site_packages_v2
ans use test in shell script for test where is the file...
and change start_script for add shel test
if [ -f testfile %s] openerp_site_packages_v1
 ...
if [ -f testfile %s] openerp_site_packages_v2
...

 Because if not test all options, change will break somes plateforms as the Amit one.

  other solution coold be use pkg_ressources, something like :
import pkg_resources
pkg_resources.run_script('openerpclient==6.1dev', 'openerp-client')
But I din't fix some python-coverage issue in virtualenv with this syntax...

  I will finish study buildbots and runbots openerp before propose my changes...
I think I will propose something near 15 November.