{ "info": { "author": "ACSONE SA/NV", "author_email": "info@acsone.eu", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Odoo", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "odoo-autodiscover\n=================\n\n.. image:: https://img.shields.io/badge/licence-LGPL--3-blue.svg\n :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html\n :alt: License: LGPL-3\n.. image:: https://badge.fury.io/py/odoo-autodiscover.svg\n :target: https://badge.fury.io/py/odoo-autodiscover\n.. image:: https://travis-ci.org/acsone/odoo-autodiscover.svg?branch=master\n :target: https://travis-ci.org/acsone/odoo-autodiscover\n\nEnhance Odoo to automatically discover available addons without the need of \nthe ``--addons-path`` option.\n\nFor Odoo 8 and 9, it works by looking at addons in the \n``odoo_addons`` namespace package. For Odoo 10 and 11, it\nworks by looking for ``odoo/addons`` directories in PYTHONPATH.\n\nAddons that install this way can be packaged with the help of\n`setuptools-odoo `_.\n\nHow to install\n~~~~~~~~~~~~~~\n\n* Create a virtualenv and make sure you have a recent version of pip\n (by running ``pip install -U pip`` or using\n `get-pip.py `_).\n* Install Odoo in your virtualenv with the standard Odoo installation procedure\n (a good way is to run ``pip install -e .`` from the Odoo root directory).\n* Make sure Odoo is installed correctly:\n\n * ``pip list`` must show ``odoo``.\n * for Odoo 8 and 9, running ``python -c \"import openerp.api\"`` \n and ``openerp-server`` must work\n * for Odoo 10 and 11, running ``python -c \"import odoo.api\"`` \n and ``odoo`` must work \n\n* Install this package (``pip install odoo-autodiscover``).\n\nHow to use\n~~~~~~~~~~\n\n* Create and/or install odoo addons in the ``odoo/addons`` namespace (for Odoo 10 and 11) \n or the ``odoo_addons`` namespace (for Odoo 8 and 9),\n possibly with the help of the `setuptools-odoo\n `_ package.\n* Run odoo as usual and notice the addons path is extended automatically.\n\nComplete example\n~~~~~~~~~~~~~~~~\n\nThe following commands install Odoo 8.0 nightly, then\ninstall ``base_import_async`` pulling all required dependencies\nautomatically (ie ``connector``).\n\nIt uses pre-built wheel packages for OCA addons from pypi.\n\n .. code:: Bash\n\n # create and activate a virtualenv\n virtualenv venv\n . ./venv/bin/activate\n # install Odoo 8.0 nightly\n pip install -r https://raw.githubusercontent.com/odoo/odoo/8.0/requirements.txt\n pip install https://nightly.odoo.com/8.0/nightly/src/odoo_8.0.latest.zip\n # install odoo-autodiscover\n pip install odoo-autodiscover\n # install base_import_async from pypi\n pip install odoo8-addon-base_import_async --pre\n # start odoo\n openerp-server\n\nAt this point, you should see in the Odoo log that the site-packages directory appears in the addons path.\n\nYou can easily install additional addons. For example, should you like to have an Odoo 8 shell, \nusing the OCA shell module, simply pip install the module:\n\n .. code:: Bash\n\n pip install odoo8-addon-shell\n openerp-server shell\n\nTo view addon packages that are installed in your virtualenv,\nsimply use ``pip list | grep odoo<8|9|10>-addon-`` (note official addons\nare part of the ``odoo`` package).\n\nTechnical notes\n~~~~~~~~~~~~~~~\n\nWith Odoo 8 and 9 it's not possible to make ``openerp.addons`` a namespace package\n(because ``openerp/__init__.py`` contains code), we use a pseudo-package named\n``odoo_addons`` for the sole purpose of discovering addons installed with\nsetuptools in that namespace. ``odoo_addons`` is not intended to be imported\nas the Odoo import hook will make sure all addons can be imported from\n``openerp.addons`` as usual.\n\nWith Odoo 10, we attempted to use pkg_resource style namespace packages.\nIt worked fine until setuptools 31, at which point we had to cope with\nhttps://github.com/acsone/setuptools-odoo/issues/10. Hence the workaround\nin ``odoo-autodiscover`` 2.0.\n\nFor Odoo 11 under Python 3, we hope we can make ``odoo-autodiscover`` obsolete\nagain, this is the purpose of https://github.com/odoo/odoo/pull/19517.\n\nSee https://packaging.python.org/guides/packaging-namespace-packages/ for more\ninformation about namespace packages.\n\nUseful links\n~~~~~~~~~~~~\n\n* pypi page: https://pypi.python.org/pypi/odoo-autodiscover\n* code repository: https://github.com/acsone/odoo-autodiscover\n* report issues at: https://github.com/acsone/odoo-autodiscover/issues\n* see also setuptools-odoo: https://pypi.python.org/pypi/setuptools-odoo\n\nCredits\n~~~~~~~\n\nAuthor:\n\n * St\u00e9phane Bidoul (`ACSONE `_)\n\nMany thanks to Daniel Reis who cleared the path, and Laurent Mignon who convinced\nme it was possible to do it using standard Python setup tools and had the idea of\nthe odoo_addons namespace package.\n\nChanges\n~~~~~~~\n\n.. Future (?)\n.. ----------\n.. -\n\n2.0.0 (2017-09-19)\n------------------\n- better deprecation warnings for autodiscover scripts\n- improvements to setup.py and readme\n- add test for Odoo 11 and python 3 where odoo-autodiscover is not necessary\n\n2.0.0b1 (2017-09-17)\n--------------------\n- major rewrite: instead of adapted startup scripts that monkey patch Odoo,\n use a post import hook that automatically does the job as soon as odoo or openerp\n is imported.\n- for Odoo 10 and 11, do not rely on namespace packages, but instead look for odoo/addons\n directories in PYTHONPATH \n- automated tests\n- Odoo 10 support, to work around https://github.com/acsone/setuptools-odoo/issues/10\n- preliminary Odoo 11 support\n\n1.0.3 (2016-09-30)\n------------------\n- odoo-autodiscover is built-in Odoo 10!\n\n1.0.2 (2016-02-06)\n------------------\n- [IMP] add openerp-gevent-autodiscover, and monkey patch the prefork server\n to launch that script instead of openerp-gevent.\n\n1.0.1 (2015-12-30)\n------------------\n- [FIX] odoo-autodiscover.py: more reliable way to discover and import\n the official odoo.py script, so it will now work when Odoo is installed\n from the deb package\n\n1.0.0 (2015-12-28)\n------------------\n- initial stable release", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/acsone/odoo-autodiscover", "keywords": "", "license": "LGPLv3", "maintainer": "", "maintainer_email": "", "name": "odoo-autodiscover", "package_url": "https://pypi.org/project/odoo-autodiscover/", "platform": "", "project_url": "https://pypi.org/project/odoo-autodiscover/", "project_urls": { "Homepage": "http://github.com/acsone/odoo-autodiscover" }, "release_url": "https://pypi.org/project/odoo-autodiscover/2.0.0/", "requires_dist": null, "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "summary": "Adapt Odoo to discovers installed addons automatically", "version": "2.0.0" }, "last_serial": 3186090, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "60480995240142618d41dca8932fad50", "sha256": "ec50d4a40a1a00ca37f010598f4774291dbc78d4d8674f64c86948f1cce30f48" }, "downloads": -1, "filename": "odoo_autodiscover-1.0.0-py27-none-any.whl", "has_sig": false, "md5_digest": "60480995240142618d41dca8932fad50", "packagetype": "bdist_wheel", "python_version": "py27", "requires_python": null, "size": 7681, "upload_time": "2015-12-28T12:09:24", "url": "https://files.pythonhosted.org/packages/0c/d2/a5b4d9423853d3cfe4599686c17f04a28a8fd99877af31d83a3a1623d563/odoo_autodiscover-1.0.0-py27-none-any.whl" }, { "comment_text": "", "digests": { "md5": "91dae4747eb0d6e8ef2ee416dd585b98", "sha256": "202a26085452bc1439eebddfd804f2a6687d98358742463085a6949f89873845" }, "downloads": -1, "filename": "odoo-autodiscover-1.0.0.tar.gz", "has_sig": false, "md5_digest": "91dae4747eb0d6e8ef2ee416dd585b98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7279, "upload_time": "2015-12-28T12:09:29", "url": "https://files.pythonhosted.org/packages/2e/09/aa27720cf448937c24d02f04e6b357a7da89ddbfd721cbf91a4b2cc7d5b8/odoo-autodiscover-1.0.0.tar.gz" } ], "1.0.0.post1": [ { "comment_text": "", "digests": { "md5": "db644cd8979b89dbd26a29fe96748868", "sha256": "9a38337166997e9f03cfdd8487f6b294383e76a929430e3b921ed6b6382ed58c" }, "downloads": -1, "filename": "odoo_autodiscover-1.0.0.post1-py27-none-any.whl", "has_sig": false, "md5_digest": "db644cd8979b89dbd26a29fe96748868", "packagetype": "bdist_wheel", "python_version": "py27", "requires_python": null, "size": 8189, "upload_time": "2015-12-28T12:35:37", "url": "https://files.pythonhosted.org/packages/a8/4f/667a64c552ca60f76e61cf9b76dd375eadb93f55bee8bdb5a3e2eee0a475/odoo_autodiscover-1.0.0.post1-py27-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f5c07e22cf7d51b684d0b139fd00db1", "sha256": "b44c07e1039042d046ca329c6456a7f39261324493b5771af742b54667aebeaf" }, "downloads": -1, "filename": "odoo-autodiscover-1.0.0.post1.tar.gz", "has_sig": false, "md5_digest": "2f5c07e22cf7d51b684d0b139fd00db1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8117, "upload_time": "2015-12-28T12:37:11", "url": "https://files.pythonhosted.org/packages/97/bb/ac0b9b1bf900bb5c88293b55d469ebffe8d25c48044b6f619ffbc684e587/odoo-autodiscover-1.0.0.post1.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "e7a6ff3db73021a602b59435f09185f2", "sha256": "b0a070ad7c81ba41454526191821ce4dffa1c4699af4b33bbd588316a5560692" }, "downloads": -1, "filename": "odoo_autodiscover-1.0.1-py27-none-any.whl", "has_sig": false, "md5_digest": "e7a6ff3db73021a602b59435f09185f2", "packagetype": "bdist_wheel", "python_version": "py27", "requires_python": null, "size": 8355, "upload_time": "2015-12-30T15:57:28", "url": "https://files.pythonhosted.org/packages/18/a0/109b2f56d29b2c547cf73b53bce4811f50b1d431a921b863b2e2f75d904f/odoo_autodiscover-1.0.1-py27-none-any.whl" }, { "comment_text": "", "digests": { "md5": "603e6b088339e03a727ffe4cbb2a238a", "sha256": "9d6acaef172bdb7fdbfd95bf0b3b7b403b13ae461de69f00df8748558f0e9144" }, "downloads": -1, "filename": "odoo-autodiscover-1.0.1.tar.gz", "has_sig": false, "md5_digest": "603e6b088339e03a727ffe4cbb2a238a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8427, "upload_time": "2015-12-30T15:57:33", "url": "https://files.pythonhosted.org/packages/57/fe/d8ff637a2c4553dee1778250a179f27df27fa541c63c7ef60b39b8a63073/odoo-autodiscover-1.0.1.tar.gz" } ], "1.0.1.post1": [ { "comment_text": "", "digests": { "md5": "8e24f830f857f32ac308c833d1c5b73d", "sha256": "cca5d8c1bcecef5153b693679f67c017cc0980ed3e24bae92d30bf7b38184458" }, "downloads": -1, "filename": "odoo_autodiscover-1.0.1.post1-py27-none-any.whl", "has_sig": false, "md5_digest": "8e24f830f857f32ac308c833d1c5b73d", "packagetype": "bdist_wheel", "python_version": "py27", "requires_python": null, "size": 8444, "upload_time": "2015-12-30T18:03:53", "url": "https://files.pythonhosted.org/packages/97/78/0993e980439f8b1f389633562fef632dfd3dedbc988c717d0e8eb37d48e9/odoo_autodiscover-1.0.1.post1-py27-none-any.whl" }, { "comment_text": "", "digests": { "md5": "139ee7c991f511aae0739cf29b5e4cd5", "sha256": "2fd50c3c6b3855d14ed240b2955163485c90bceead4f79668bb42a9957e693af" }, "downloads": -1, "filename": "odoo-autodiscover-1.0.1.post1.tar.gz", "has_sig": false, "md5_digest": "139ee7c991f511aae0739cf29b5e4cd5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8427, "upload_time": "2015-12-30T18:04:57", "url": "https://files.pythonhosted.org/packages/c7/d3/b5862f767895d7a0ba85da603da703a356ff4c91a105826bdd92bca5caa6/odoo-autodiscover-1.0.1.post1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "9280aeeceb8dbd00ca38e9b6f5b3e96f", "sha256": "d995743daf114182bcf85530c25590f987afdd3d9f0fff8b99cc14d652e902ad" }, "downloads": -1, "filename": "odoo_autodiscover-1.0.2-py27-none-any.whl", "has_sig": false, "md5_digest": "9280aeeceb8dbd00ca38e9b6f5b3e96f", "packagetype": "bdist_wheel", "python_version": "py27", "requires_python": null, "size": 9079, "upload_time": "2016-02-06T12:38:58", "url": "https://files.pythonhosted.org/packages/05/28/cf2bd322138f61f2d06305d218217af22b750d63753e814928885606e822/odoo_autodiscover-1.0.2-py27-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4f396f853ab8d0301257bde7e98908f6", "sha256": "d455d7763b093dfd540e6bea7bd98a04242b3e2069aba8a1ddf8ae77a33355de" }, "downloads": -1, "filename": "odoo-autodiscover-1.0.2.tar.gz", "has_sig": false, "md5_digest": "4f396f853ab8d0301257bde7e98908f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8790, "upload_time": "2016-02-06T12:39:04", "url": "https://files.pythonhosted.org/packages/be/dc/58f49d4489beeda5614840cb94111b89768cf4f62f20f2995181873d266b/odoo-autodiscover-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "d588b4b96eeeb543da156d8636e4e9d2", "sha256": "395b0b657d6dec20f098f03e615e25c41e004aa53761b0379b3500ee48a9b43d" }, "downloads": -1, "filename": "odoo_autodiscover-1.0.3-py27-none-any.whl", "has_sig": false, "md5_digest": "d588b4b96eeeb543da156d8636e4e9d2", "packagetype": "bdist_wheel", "python_version": "py27", "requires_python": null, "size": 9464, "upload_time": "2016-09-30T13:44:50", "url": "https://files.pythonhosted.org/packages/c7/9e/347694927a5c0ec23331718a118ff3b2738cd70af2104f5c6dcdaaa26920/odoo_autodiscover-1.0.3-py27-none-any.whl" }, { "comment_text": "", "digests": { "md5": "24c0326e0824dad09fedf0fc37a9352a", "sha256": "6125a76edcd0764a518788cd79dd03e6d325249889fb684d20ef1d74b92d2bc2" }, "downloads": -1, "filename": "odoo-autodiscover-1.0.3.tar.gz", "has_sig": false, "md5_digest": "24c0326e0824dad09fedf0fc37a9352a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8613, "upload_time": "2016-09-30T13:37:08", "url": "https://files.pythonhosted.org/packages/0b/ce/bd97007439c140bbe90f0f3cced4b02fbaf660f928a3ef5e02d8019b5038/odoo-autodiscover-1.0.3.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "f41077630e5d199a36677fafde29b06b", "sha256": "d40e9525b31b0eab386f5e40273bed6f97ba998767eb73aeaefa1b4cce46d108" }, "downloads": -1, "filename": "odoo-autodiscover-2.0.0.tar.gz", "has_sig": false, "md5_digest": "f41077630e5d199a36677fafde29b06b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 16496, "upload_time": "2017-09-19T17:21:29", "url": "https://files.pythonhosted.org/packages/7b/79/e5353fba19818950062759f392afb7cd5dccd1fe3b7e4dea7f12ef6ce2ff/odoo-autodiscover-2.0.0.tar.gz" } ], "2.0.0b1": [ { "comment_text": "", "digests": { "md5": "318785db7f47a768f9258aa73ee67f61", "sha256": "721864f8af8d9a1a53b26d3f2713ea6504147c66ad14d53060c727dbd08a3e4a" }, "downloads": -1, "filename": "odoo-autodiscover-2.0.0b1.tar.gz", "has_sig": false, "md5_digest": "318785db7f47a768f9258aa73ee67f61", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 15939, "upload_time": "2017-09-17T16:38:20", "url": "https://files.pythonhosted.org/packages/cd/49/5e75490cd7b60fa0d455a43154839280fea8b98b1ccda99ea3f5d1332c14/odoo-autodiscover-2.0.0b1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f41077630e5d199a36677fafde29b06b", "sha256": "d40e9525b31b0eab386f5e40273bed6f97ba998767eb73aeaefa1b4cce46d108" }, "downloads": -1, "filename": "odoo-autodiscover-2.0.0.tar.gz", "has_sig": false, "md5_digest": "f41077630e5d199a36677fafde29b06b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 16496, "upload_time": "2017-09-19T17:21:29", "url": "https://files.pythonhosted.org/packages/7b/79/e5353fba19818950062759f392afb7cd5dccd1fe3b7e4dea7f12ef6ce2ff/odoo-autodiscover-2.0.0.tar.gz" } ] }