{ "info": { "author": "ACSONE SA/NV", "author_email": "laurent.mignon__at__acsone.eu", "bugtrack_url": null, "classifiers": [ "Framework :: Buildout :: Recipe", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "========================\r\nacsone.recipe.odoo.pydev\r\n========================\r\n\r\n|Version|\r\n\r\nAn extension to `anybox.recipe.odoo\r\n`_\r\nthat generates `Odoo `_ \r\nprojects for the `Eclipse PyDev `_ IDE.\r\n\r\n.. contents::\r\n\r\n- Code repository: http://github.com/acsone/acsone.recipe.odoo.pydev\r\n- Report bugs at http://github.com/acsone/acsone.recipe.odoo.pydev/issues\r\n\r\n\r\nWhat it is\r\n==========\r\n\r\nThis buildout recipe is\r\nan extension to the fully featured recipe developed by Anybox:\r\n`anybox.recipe.odoo\r\n`_.\r\n\r\nIt generates a ready-to-use Eclipse PyDev Project, \r\npointing to all dependencies required to develop, run\r\nand debug your `Odoo `_ server \r\nas well as your own addons.\r\n\r\nThe generated project is fully configured, including a preset\r\nPYTHONPATH so as to support debugging, pep8 import checks, auto completion\r\n\r\nHow to use it\r\n=============\r\n\r\nSince the recipe is an extension to `anybox.recipe.odoo\r\n`_, the first step, if not done,\r\nis to add your `anybox.recipe.odoo\r\n`_, configuration to ``buildout.cfg`` \r\nand include it in ``${buildout:parts}``. \r\n\r\nAn example::\r\n\r\n [buildout]\r\n ...\r\n parts = ... openerp\r\n\r\n [openerp]\r\n recipe = anybox.recipe.odoo:server\r\n version = git https://github.com/odoo/odoo.git odoo 7.0\r\n addons = ...\r\n ....\r\n\r\n\r\nAnother example using git and Odoo V8::\r\n\r\n [buildout]\r\n ...\r\n parts = ... openerp\r\n\r\n [openerp]\r\n recipe = anybox.recipe.odoo[bzr]:server\r\n version = git https://github.com/odoo/odoo.git odoo 8.0\r\n addons = ...\r\n ....\r\n\r\n\r\nA good practice is to use the inheritance mechanism of buildout to define your\r\ndevelopment environment in an other file such as ``devel.cfg``::\r\n\r\n [buildout]\r\n extends = buildout.cfg\r\n parts = ... pydevproject\r\n\r\n [pydevproject]\r\n <= openerp\r\n recipe = acsone.recipe.odoo.pydev\r\n project-name = my_project_name\r\n python-version = python 2.7\r\n python-interpreter = Default\r\n eggs += any_additional_egg_you_want\r\n\r\nThen prepare your virtualenv and install zc.buildout\r\n\r\n $ virtualenv\r\n \r\n $ bin/pip install zc.buildout\r\n \r\nTo run the recipe and generate your project, run\r\n\r\n $ bin/buildout install pydevproject\r\n\r\nThe launch eclipse, import the project and you are ready to go.\r\nTo debug, use bin/start_openerp_pydev in the eclipse debug configuration.\r\n\r\nSupported options\r\n=================\r\nThese match the options of a PyDev Project.\r\n\r\nname\r\n The project name. This is just for Eclipse and can be anything you want.\r\npython-version\r\n The combination of interpreter and grammar version. E.g. *python 2.7* \r\n (default is *python 2.7*)\r\npython-interpreter\r\n The interpreter name, as configured in the the Eclipse Preferences for PyDev. \r\n Usually *Default* is fine. (default is *Default*)\r\n\r\nBehind the curtain\r\n==================\r\n\r\nIn addition to the startup scripts and configuration file generated by\r\n`anybox.recipe.odoo\r\n`_., this recipe\r\ngenerates the two files that define a PyDev Project:\r\n\r\n- .project \r\n- .pydevproject.\r\n\r\nWhile eggs and their dependencies are declared as external libraries, \r\nthe server and its addons are declared as source folders. In the same time,\r\nthe recipe uses in background the `collective.recipe.omelette \r\n`_ recipe to build\r\na unified directory structure of declared addons, symlinking to the actual \r\ncontents, in order to allow proper pep8 check and auto completion. \r\nThis directory structure is also declared as external dependency to avoid \r\nconfusion between source folder and the unified directory structure.\r\n\r\nIt's a know issue that when same addons are both in the PYTHONPATH and \r\naddons_path (it's the case with the generated project definition), \r\nit's not possible to start the server due to import errors. To avoid\r\nthis problem, the recipe adds to the generated scripts , specific code \r\nto remove parts of sys.path that are also in addons_path.\r\n\r\n.. |Version| image:: https://badge.fury.io/py/acsone.recipe.odoo.pydev.svg?\r\n :target: http://badge.fury.io/py/acsone.recipe.odoo.pydev\r\n \r\n\r\nContributors\r\n************\r\n\r\nLaurent Mignon (ACSONE SA/NV), Author\r\n\r\n\r\nChange history\r\n**************\r\n\r\n2.0 (2014-12-08)\r\n----------------\r\n\r\n- `github #5 `_:\r\n Extends anybox.recipe.odoo in place of anybox.recipe.opener\r\n\r\n\r\n1.2 (2014-10-13)\r\n----------------\r\n\r\n- `github #4 `_:\r\n Pydev > 3.7 and Odoo 8.0 compatibility\r\n\r\n- `github #3 `_:\r\n Incorrect Pythonpath in Eclipse\r\n\r\n1.1 (2014-09-08)\r\n----------------\r\n\r\n- `github #1 `_: \r\n support new addons layout on github. The eclipse syntax analyser\r\n also scan addons directory at root of the cloned directory if exists. BTW,\r\n code completion is fully functionnal with odoo sources distribution from \r\n github.\r\n\r\n\r\n1.0 (2014-05-30)\r\n----------------\r\n\r\n- First release\r\n [ACSONE SA/NV]\r\n\r\nDownload\r\n********", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/acsone.recipe.odoo.pydev", "keywords": "", "license": "GPLv3+", "maintainer": "", "maintainer_email": "", "name": "acsone.recipe.odoo.pydev", "package_url": "https://pypi.org/project/acsone.recipe.odoo.pydev/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/acsone.recipe.odoo.pydev/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/acsone.recipe.odoo.pydev" }, "release_url": "https://pypi.org/project/acsone.recipe.odoo.pydev/2.0/", "requires_dist": null, "requires_python": null, "summary": "A buildout recipe to install and configure a PyDev project for Openerp", "version": "2.0" }, "last_serial": 1583134, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "2f085ad5a98cf6d3f4b7714666e0c5cb", "sha256": "47ed88107a8735d8b4aa43bf01f6a1f8a0b0ed2afa5dbeedad61237b42c97021" }, "downloads": -1, "filename": "acsone.recipe.odoo.pydev-1.0.tar.gz", "has_sig": false, "md5_digest": "2f085ad5a98cf6d3f4b7714666e0c5cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8091, "upload_time": "2014-05-30T17:23:09", "url": "https://files.pythonhosted.org/packages/04/32/b53c236f942b74d8aee683fe07bf1362a1735409ad9541f805244f7bf7e4/acsone.recipe.odoo.pydev-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "64f4fad63d08f1cfb0b1d6c960ac93e2", "sha256": "4591cfaad5715c86b382521e4fd7619b336ca66e8379b10f13576a13331fa324" }, "downloads": -1, "filename": "acsone.recipe.odoo.pydev-1.1.tar.gz", "has_sig": false, "md5_digest": "64f4fad63d08f1cfb0b1d6c960ac93e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8542, "upload_time": "2014-09-08T08:57:08", "url": "https://files.pythonhosted.org/packages/fe/a3/2dbae7476d7628a5a6659b8d83b681c0377c154a1e7eb4282e77b3982d78/acsone.recipe.odoo.pydev-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "a860df3172e1fcc612dd4c811a1e15f2", "sha256": "9a9762a9f000b6293e9c81d35bc48164a857fdcf430aaa4315f4551da1cae0e5" }, "downloads": -1, "filename": "acsone.recipe.odoo.pydev-1.2.tar.gz", "has_sig": false, "md5_digest": "a860df3172e1fcc612dd4c811a1e15f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8789, "upload_time": "2014-10-13T07:40:14", "url": "https://files.pythonhosted.org/packages/09/8b/402da746daafe5e5c8456ed1854fde1408554b98577a847c1564be7ba5e7/acsone.recipe.odoo.pydev-1.2.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "4def0cb412cd02ea581506baf1f22280", "sha256": "19b076eaa898322e264ae2ffe2d5fba58e416f5c092da464275543de8477f5bd" }, "downloads": -1, "filename": "acsone.recipe.odoo.pydev-2.0.tar.gz", "has_sig": false, "md5_digest": "4def0cb412cd02ea581506baf1f22280", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7909, "upload_time": "2014-12-08T14:04:30", "url": "https://files.pythonhosted.org/packages/86/3b/284daa708f14e34bc807dc0a726c596ffa6cef4a64fc25406a042bb2cbd1/acsone.recipe.odoo.pydev-2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4def0cb412cd02ea581506baf1f22280", "sha256": "19b076eaa898322e264ae2ffe2d5fba58e416f5c092da464275543de8477f5bd" }, "downloads": -1, "filename": "acsone.recipe.odoo.pydev-2.0.tar.gz", "has_sig": false, "md5_digest": "4def0cb412cd02ea581506baf1f22280", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7909, "upload_time": "2014-12-08T14:04:30", "url": "https://files.pythonhosted.org/packages/86/3b/284daa708f14e34bc807dc0a726c596ffa6cef4a64fc25406a042bb2cbd1/acsone.recipe.odoo.pydev-2.0.tar.gz" } ] }