← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 872925] Re: install trunk : script openerp-client miss egg folder in path

 

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.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/872925

Title:
  install trunk : script openerp-client miss egg folder in path

Status in OpenERP GTK Client:
  Confirmed

Bug description:
  Install on linux (debian with ou wothout virtualenv)
  after the 
  python setup.py install
  when I use openerp-client command :
  <pathbin>/bin/openerp-client: 2: cd: can't cd to <pathlib>/lib/python2.7/site-packages/openerp-client

  because the path miss the egg folder :
  <pathlib>/lib/python2.7/site-packages/openerp_client-6.1dev-py2.7.egg/openerp-client

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client/+bug/872925/+subscriptions


References