{ "info": { "author": "openalea", "author_email": "christophe dot pradal at cirad dot fr", "bugtrack_url": null, "classifiers": [], "description": "========================\nopenalea.deploy\n========================\n\n.. {# pkglts, doc\n\n\n.. image:: https://badge.fury.io/py/openalea.deploy.svg\n :alt: PyPI version\n :target: https://badge.fury.io/py/openalea.deploy\n\n.. #}\n\nOpenAlea.Deploy support the installation of OpenAlea packages via the network and manage their dependencies. It is an extension of Setuptools.\n\n**Authors** : S. Dufour-Kowalski, C. Pradal\n\n**Contributors** : OpenAlea Consortium\n\n**Institutes** : INRIA/CIRAD/INRA\n\n**Type** : Pure Python package\n\n**Status** : Devel\n\n**License** : CeCILL-C\n\n\nAbout\n------\n\nOpenAlea.Deploy support the installation of OpenAlea packages via the network and manage\ntheir dependencies .\nIt is an extension of Setuptools_.\n\n\n\n**Additional Features** :\n * Discover and manage packages in EGG format\n * Declare shared libraries directory and include directories\n * Call SCons scripts\n * Create namespaces if necessary\n * Support post_install scripts\n * Support 'develop' command\n * OpenAlea GForge upload\n\nIt doesn't include any GUI interface (See [[packages:compilation_installation:deploygui:deploygui|OpenAlea.DeployGui]] for that).\n\nRequirements\n-------------\n\n * Python_ <= 2.7\n * Setuptools_\n\nDownload\n---------\n\nSee the [[:download|Download page]].\n\nInstallation\n-------------\n\n python setup.py install\n\n.. note::\n\n OpenAlea.Deploy can be automatically installed with the *alea_setup.py* script.\n\n\n.. _Setuptools: http://pythonhosted.org/setuptools\n.. _Python: http://www.python.org\n\n\nDevelopper Documentation\n-------------------------\n\nTo distribute your package with OpenAlea.Deploy, you need to write a setup.py script\nas you do with setuptools.\n\n * have a look to the Setuptools_ developer's guide.\n * OpenAlea.Deploy add a numerous of keywords and commands\n\nSetup keywords\n###############\n\n * create_namespace = [True|False] : if **True** create the namespaces in *namespace_packages*\n * scons_scripts = [list of Scons scripts] : if not empty, call scons to build extensions\n * scons_parameters = [list of Scons parameters] : such as ``build_prefix=...``\n * postinstall_scripts = [list of strings] : Each string corresponds to a python module to execute at installation time. The module may contain a install function ``def install():``.\n * inc_dirs = {dict of dest_dir:src_dir} : Dictionary to map the directory containing the header files.\n * lib_dirs = {dict of dest_dir:src_dir} : Dictionary to map the directory containing the dynamic libraries to share.\n * share_dirs = {dict of dest_dir:src_dir} : Dictionary to map the directory containing shared data.\n\nAdditional setup.py commands\n#############################\n\n * *create_namespace* : create_namespace declared in *namespace_packages*, usage : ``python setup.py create_namespace``.\n * *scons* : call scons scripts, usage : ``python setup.py scons``.\n * *alea_install* : wrap easy_install command, usage : ``python setup.py alea_install``.\n * *alea_upload* : upload distribution forge on the openalea gforge\n\nFor more information see : ``python setup.py --help-commands``\n\nSetup.py example\n#################\n\n::\n\n import sys\n import os\n from setuptools import setup, find_packages\n from os.path import join as pj\n\n build_prefix = \"build-scons\"\n\n # Setup function\n setup(\n name = \"OpenAlea.FakePackage\",\n version = \"0.1\",\n author = \"Me\",\n author_email = \"me@example.com\",\n description = \"This is an Example Package\",\n license = 'GPL',\n keywords = 'fake',\n url = 'http://myurl.com',\n\n # Scons\n scons_scripts = [\"SConstruct\"],\n scons_parameters = [\"build_prefix=%s\"%(build_prefix)],\n\n # Packages\n namespace_packages = [\"openalea\"],\n create_namespaces = True,\n packages = ['openalea.fakepackage', ],\n\n package_dir = {\n 'openalea.fakepackage': pj('src','fakepackage'),\n '' : 'src', # necessary to use develop command\n },\n include_package_data = True,\n zip_safe= False,\n\n # Specific options of openalea.deploy\n lib_dirs = { 'lib' : pj(build_prefix, 'lib'), },\n inc_dirs = { 'include' : pj(build_prefix, 'include') },\n share_dirs = { 'share' : 'share' },\n postinstall_scripts = ['openalea.fakepackage.postinstall',],\n\n # Scripts\n entry_points = { 'console_scripts': [\n 'fake_script = openalea.fakepackage.amodule:console_script', ],\n 'gui_scripts': [\n 'fake_gui = openalea.fakepackage.amodule:gui_script',]},\n\n # Dependencies\n setup_requires = ['openalea.deploy'],\n dependency_links = ['http://openalea.gforge.inria.fr/pi'],\n #install_requires = [],\n\n )\n\n\n\n\n\n\n\n\nOpenAlea.Deploy 2.0.0\n---------------------\n\n- add VirtualEnv and Conda compatibility and detection\n\nOpenAlea.Deploy 0.9.0\n---------------------\n\n- add bdist_rpm options\n\nOpenAlea.Deploy 0.8.0\n---------------------\n\n**Revision 2194**\n\n- add add_plat_name option in setuptools\n- Add Sphinx documentation in ./doc and update the setup.cfg accordingly\n\nOpenAlea.Deploy 0.7.0\n---------------------\n\n**Revision xxxx**\n\n- add pylint option in setuptools\n- add sphinx_upload option in setuptools\n- add DYLD_LIBRARY_PATH to deploy config file\n- update documentation\n - Fixes docstrings to make them compatible with sphinx, or have a nicer output\n - fixes indentation issues in binary_deps and gforge_utils\n - fixes coding conventions\n - a few typos\n - remove some warnings\n - Fixed bad indentation\n\nOpenAlea.Deploy 0.6.2\n---------------------\n\n**Revision 1575**\n\n- add clean command to incorporate scons into setup.py\n- Port to Mac\n- Fix documentation (docstrings) to remove warnings in epydoc:\n http://openalea.gforge.inria.fr/doc/deploy-0.6.0/\n- Fix tests\n- Upgrade setuptools to 0.6c9\n- Fix PATH problem on Windows to take into account OpenAlea libraries.\n- Version are now compared with pkg_resources\n\nOpenAlea.Deploy 0.4.12\n----------------------\n- Fix PATH problem on Windows to take into account OpenAlea libraries.\n\nOpenAlea.Deploy 0.4.11\n----------------------\n- Fix version comparison by using parse_version rather than lexical cmp.\n\nOpenAlea.Deploy 0.4.9\n---------------------\n- add binary dependency declaration in binray_deps.py\n\nOpenAlea.Deploy 0.4.8\n---------------------\n- Fix upload for big files\n\nOpenAlea.Deploy 0.4.7\n---------------------\n- Add remove_package and remove_release in gforge.py\n\nOpenAlea.Deploy 0.4.6\n---------------------\n- Add get_metainfo function\n\nOpenAlea.Deploy 0.4.5\n---------------------\n- Fix alea_clean Bug (remove all site-package)\n\nOpenAlea.Deploy 0.4.4\n---------------------\n- Fix bug with os.environ['PATH'] under windows\n\nOpenAlea.Deploy 0.4.3\n---------------------\n- Fix bug with namespace creation and complex __init__.py\n\nOpenAlea.Deploy 0.4.2\n---------------------\n- Add command (GForge upload)\n- Add gforge module (SOAP communication)\n- Fix dyn-lib bug with virtual env and with relative path\n- Add option to alea_config to print dyn-lib\n\nOpenAlea.Deploy 0.4.1\n---------------------\n- Fix bug with command and namespaces\n\nOpenAlea.Deploy 0.4.0\n---------------------\n- Improve command : manage namespace and environment variables\n- Reinstall shared libraries if they are missing (but not egm)\n- Add shell command : alea_clean, alea_config and alea_update\n- Based on setuptools-0.6c8\n\nOpenAlea.Deploy 0.3.8\n---------------------\n- Adapt develop command for lib_dir and bin_dir\n\nOpenAlea.Deploy 0.3.7\n---------------------\n- Simplify the warning message for environment variable on Linux\n\nOpenAlea.Deploy 0.3.6\n---------------------\n- add get_recommended_pkg functions\n\nOpenAlea.Deploy 0.3.5\n---------------------\n- add alea_clean and alea_update_all scripts\n\nOpenAlea.Deploy 0.3.4a\n----------------------\n- Fix platform detection for darwin\n\nOpenAlea.Deploy 0.3.3\n---------------------\n- Execute build_ext before build_py\n\nOpenAlea.Deploy 0.3.2\n---------------------\n- Manage a list of web repository\n\nOpenAlea.Deploy 0.3\n-------------------\n- Manage a directory of shared lib", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://openalea.gforge.inria.fr", "keywords": "setuptools,openalea", "license": "cecill-c", "maintainer": null, "maintainer_email": null, "name": "openalea.deploy", "package_url": "https://pypi.org/project/openalea.deploy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/openalea.deploy/", "project_urls": { "Homepage": "https://openalea.gforge.inria.fr" }, "release_url": "https://pypi.org/project/openalea.deploy/2.0.0/", "requires_dist": null, "requires_python": null, "summary": "OpenAlea.Deploy support the installation of OpenAlea packages via the network and manage their dependencies. It is an extension of Setuptools.", "version": "2.0.0" }, "last_serial": 2207720, "releases": { "2.0.0": [ { "comment_text": "", "digests": { "md5": "627061d5a76b71cc98e85d81e860ec82", "sha256": "bca5f6cf3173bfbd540911063624343f9a2ba3aa35101d3184f0ed6d8e78c987" }, "downloads": -1, "filename": "openalea.deploy-2.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "627061d5a76b71cc98e85d81e860ec82", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 106721, "upload_time": "2016-07-07T10:33:49", "url": "https://files.pythonhosted.org/packages/a2/45/6037cb19e0ea9db94102810311da9ed1e575a7ee3fa3eba50ce80c16b975/openalea.deploy-2.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1377a84b20b0369bd7017bdd47b15e7d", "sha256": "9c9e43b979df669f1bff3212959930bc059f230eef84d39402329c7414dd7cf2" }, "downloads": -1, "filename": "openalea.deploy-2.0.0.tar.gz", "has_sig": false, "md5_digest": "1377a84b20b0369bd7017bdd47b15e7d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 109173, "upload_time": "2016-07-07T10:33:54", "url": "https://files.pythonhosted.org/packages/31/1f/7043b8405114d3b65026217eac8100d77df52480161a2e7a21ae1060fd79/openalea.deploy-2.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "627061d5a76b71cc98e85d81e860ec82", "sha256": "bca5f6cf3173bfbd540911063624343f9a2ba3aa35101d3184f0ed6d8e78c987" }, "downloads": -1, "filename": "openalea.deploy-2.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "627061d5a76b71cc98e85d81e860ec82", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 106721, "upload_time": "2016-07-07T10:33:49", "url": "https://files.pythonhosted.org/packages/a2/45/6037cb19e0ea9db94102810311da9ed1e575a7ee3fa3eba50ce80c16b975/openalea.deploy-2.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1377a84b20b0369bd7017bdd47b15e7d", "sha256": "9c9e43b979df669f1bff3212959930bc059f230eef84d39402329c7414dd7cf2" }, "downloads": -1, "filename": "openalea.deploy-2.0.0.tar.gz", "has_sig": false, "md5_digest": "1377a84b20b0369bd7017bdd47b15e7d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 109173, "upload_time": "2016-07-07T10:33:54", "url": "https://files.pythonhosted.org/packages/31/1f/7043b8405114d3b65026217eac8100d77df52480161a2e7a21ae1060fd79/openalea.deploy-2.0.0.tar.gz" } ] }