acsone / acsone.recipe.odoo.pydev Goto Github PK
View Code? Open in Web Editor NEWA buildout recipe to generate an Eclipse PyDev project (extends anybox.recipe.openerp)
License: GNU Affero General Public License v3.0
A buildout recipe to generate an Eclipse PyDev project (extends anybox.recipe.openerp)
License: GNU Affero General Public License v3.0
When Odoo is launched with eclispe in debug mode, The GeventServer is started in place of the ThreadServer.
Following the instructions of https://testpypi.python.org/pypi/acsone.recipe.odoo.pydev/2.0
I am using this:
[buildout]
extends = buildout.cfg
parts = pydevproject
[pydevproject]
<= openerp
recipe = acsone.recipe.odoo.pydev
version = path /opt/odoo/lib/server/HEAD/
name = myname
python-version = python 2.7
python-interpreter = Default
but it seems that my name for the project is ignored.
When we use this recipe with [email protected]:odoo/odoo.git repository with separate addons path, the recipe don't use good addons path with https://pypi.python.org/pypi/collective.recipe.omelette .
Odoo repository addons path is:
odoo/
addons
openerp/addons
And eclipse syntax analyser just scan odoo/openerp/addons.
Thank's a lot for this work.
When I use this option in my buildout recipe:
version = path /home/yucer/src/odoo
Then the following path is generated in the project:
<pydev_pathproperty name="org.python.pydev.PROJECT_SOURCE_PATH">
<path>/v8project/home/yucer/src/odoo</path>
</pydev_pathproperty>
And eclipse signals an error. On the other hand everything works OK when i use:
version = git ssh://git.kjellberg-erp.de/odoo.git server 8.0 depth=1
Then the code is checked out to the folder parts/server
and the following path is generated:
<pydev_pathproperty name="org.python.pydev.PROJECT_SOURCE_PATH">
<path>/v8project/parts/server</path>
</pydev_pathproperty>
My buildout.cfg
is:
[buildout]
parts =
openerp
python
[openerp]
recipe = anybox.recipe.odoo:server
version = git https://github.com/odoo/odoo.git odoo 8.0 depth=1
options.xmlrpc = True # Activate HTTP
options.xmlrpcs = False
options.netrpc = False
options.without_demo = True
options.db_user = odoo
options.db_name = odoo_db
options.db_host = localhost
options.db_password = odoo_db_passw
options.admin_passwd = odoo_admin_passw
[python]
recipe = zc.recipe.egg
interpreter = python
extra-paths = ${buildout:directory}/parts/server
eggs = unittest2
pywebdav
pyyaml
xlrd
[versions]
setuptools = 7.0
zc.buildout = 2.2.5
zc.recipe.egg = 2.0.1
babel = 1.3
psutils = 2.1.3
And my devel.cfg
is:
extends = buildout.cfg
parts = pydevproject
[pydevproject]
<= openerp
#version = path /home/yucer/src/odoo
recipe = acsone.recipe.odoo.pydev
project-name = v8project
python-version = python 2.7
python-interpreter = Default
When I uncomment the version line i get the error...
May we make a symbolic link to parts/server
?
The pythonpath generated for eclipse is currently incorrect: the new entry added in the source list to support the new addons layout on github prevents the server from starting inside eclipse. If the entry "/part/odoo/addons" is removed from the sources, everything works fine.
I'm starting to use anybox receipt so don't know where is the problem, but when using this receipt buildout is trying to install PIL instead of using Pillow, here there are my current configurations files
buildout.cfg
[buildout]
parts = openerp
versions = versions
find-links = http://download.gna.org/pychart/
[openerp]
recipe = anybox.recipe.openerp:server
version = git [email protected]:openpyme/PyERP.git server invoice_signals
addons = local parts/server/addons
git [email protected]:l10n_mx/facturacion.git parts/l10n_mx signals
git [email protected]:accounting-addons/account_payment_type.git parts/account_payment_type master group=l10n_mx
eggs = blinker
qrcode
suds
pyxmlsec
${soappy:egg}
[soappy]
recipe = zc.recipe.egg:custom
egg = soappy
find-links = https://github.com/OpenPymeMx/SOAPpy.git#egg=SOAPpy
[versions]
develop.cfg
[buildout]
extends = buildout.cfg
parts = pydevproject
extensions = mr.developer
[pydevproject]
<= openerp
recipe = acsone.recipe.odoo.pydev
project-name = ns
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.