Eclipse development for odoo1/5/2023 It’s pretty straightforward, pick Python project type, specify project name and select the Python interpreter we’ve just created. Next step is to create new PyDev project in Eclipse. When the Python interpreter is installed, we can move further. As an example, assume that installation dir is C:/Python27 then PyDev will search for its subdirs to find all modules location and add them to System PYTHONPATH, the final look of the interpreter view: Go to Window –> Preferences –> PyDev –> Interpreters –> Python Interpreter –> New, then specify a path to your Python installation and click Save. Interpreter itself is a local dir where the Python is installed. Next step is to set up Python Interpreter that will be used by PyDev. Install (if not yet) PyDev plugin: go to Window -> Preferences -> Install/Update -> Available Software Sites. I’d recommend to download and run exe-file exactly from this source, since we’ve tried to take win32service from the other repositories, none of them worked. This module is not stored in Pip repository, it should be downloaded from the sourceforge directly taking in mind the 2.7 Python version. Since we’re on Windows we need to install win32service as well. In this way go to %Python_dir%/Scripts folder where pip.exe is located and run the following command (assuming requirements.txt is placed in current dir):Īfter that almost all packages required to Odoo will be installed. Within Odoo distribution directory you can find requirements.txt file that keeps all package names + version to be installed. Luckily Pip package manager is already persist in downloaded Python distributive and you can easily use it to install required packages. Odoo requires a few Python libs (such as Babel, ebaysdk, lxml, python-ldap etc.) that are not shipped within a standard Python bundle, these libs should be installed manually to your Python. Odoo 10 is based on Python 2.7 and if you don’t have it installed locally – please do it using the official site of Python. Let’s say that Odoo source is downloaded to C:/Users/Lenovo/git/Odoo. In first case you’ll have to wait much longer since there’s the entire commit history is downloaded as well. We need the source code of Odoo to make the debugging possible, so let’s start with Odoo 10 source code downloading: you can do this either by going to GitHub or just by downloading it from Odoo’s official site. Odoo 10 differs from the other versions, plus it ships with another set of setup files, so if you’re interested in detailed description of Odoo setup in Eclipse – this post may be helpful. There are articles exist on the internet dedicated to this theme, but none of them covers this task in relation to Odoo version 10. Hi everyone, I’m writing this post to describe an installation process of Odoo and its debug in Eclipse IDE on Windows.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |