0

I am using buildout. I am using it to install openerp. I would like the scripts that openerp creates to run itself available in ${buildout:location}/bin

I tried zerokspot.recipe.distutils and collective.recipe.distutils

How would I get the scripts built in bin?

4

2 回答 2

0

After some help and some research, it seems that openerp is hardly a standard distutils package. After some research and some help, I tracked down

http://pypi.python.org/pypi/cns.recipe.symlink/0.1

Which I shall use to link the executables to the buildout. This will suffice.

于 2010-01-10T18:18:10.430 回答
0

Did you successfuly installed openerp with buildout ?

On my side it just cannot find these modules, but they are in my eggs dir:

Error: python module psycopg2 (PostgreSQL module) is required
Error: python module libxslt (libxslt python bindings) is required
Error: python module pychart (pychart module) is required
Error: python module pydot (pydot module) is required
error: Setup script exited with 1
An error occured when trying to install openerp-server 5.0.0-3. Look above this message for any errors that were output by easy_install.

Is this possible that openerp hardcoded the his searching path somewhere ?

My buildout.cfg look like this:

[buildout]
parts = eggs
versions=versions
newest = false
extensions = lovely.buildouthttp
unzip = true
find-links =
       http://download.gna.org/pychart/
[versions]

[eggs]
recipe = zc.recipe.egg
interpreter = python
eggs =
     Paste
     PasteScript
     PasteDeploy
     psycopg2
     PyChart
     pydot
     openerp-server
于 2010-02-03T20:26:17.990 回答