0

ビルドアウトを使用しています。openerpのインストールに使用しています。openerpが作成したスクリプトを実行して、$ {buildout:location}/binで利用できるようにしたいと思います。

zerokspot.recipe.distutilscollective.recipe.distutilsを試しました

スクリプトをbinに組み込むにはどうすればよいですか?

4

2 に答える 2

0

いくつかの助けといくつかの調査の後、openerp はほとんど標準の distutils パッケージではないようです。いくつかの調査といくつかの助けの後、私は追跡しました

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

これを使用して、実行可能ファイルをビルドアウトにリンクします。これで十分です。

于 2010-01-10T18:18:10.430 に答える
0

buildout で openerp を正常にインストールしましたか?

私の側では、これらのモジュールを見つけることができませんが、卵のディレクトリにあります:

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.

openerp が彼の検索パスをどこかにハードコーディングした可能性はありますか?

私の buildout.cfg は次のようになります。

[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 に答える