{ "info": { "author": "Jens W. Klein", "author_email": "jk@kleinundpartner.at", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Build Tools" ], "description": ".. This README is meant for consumption by humans and pypi. Pypi can render rst files so please do not use Sphinx features.\n This text does not appear on pypi or github. It is a comment.\n\n================\nbuildout.environ\n================\n\nExpose system environment variables into `zc.buildout `_ section.\n\nIt is an extension for buildout.\nAll variables seen by Pythons ``os.environ`` are available in buildout.\n\n\nInstallation\n------------\n\nInstall ``buildout.environ`` by adding it to your buildout extensions::\n\n [buildout]\n extensions = buildout.environment\n\nUsage\n-----\n\nUse ``${__environ__:VARIABLENAME}`` to address any environment variable.\n\nExample::\n\n [buildout]\n extensions = buildout.environ\n parts = print\n\n [print]\n recipe = mr.scripty\n install =\n print(\"Found in environ: PATH=${__environ__:PATH}\")\n\nTo show some variables while running buildout, add a line like this::\n\n [buildout]\n extensions = buildout.environ\n environ-output =\n PATH\n HOME\n\nThis results into an output like this::\n\n buildout.environ: PATH=/home/fido/bin/:/usr/bin/:....\n buildout.environ: HOME=/home/fido\n\nTo ensure that some required variables were set,\nan list of required keys is supported::\n\n [buildout]\n extensions = buildout.environ\n environ-required =\n PATH\n SOMEOTHER\n\nWithout setting `SOMEOTHER` this results into an output like this::\n\n buildout.environ: Missing required environment variables: SOMEOTHER\n\n\nSource Code\n-----------\n\nThe sources are in a GIT DVCS with its main branches at `github `_.\nThere you can report issue too.\n\nWe'd be happy to see many forks and pull-requests to make this addon even better.\n\nWe use `black `_ (default settings) and `isort `_ (see `setup.cfg`) for code formatting.\n\nMaintainers are `Jens Klein `_ and the BlueDynamics Alliance developer team.\nWe appreciate any contribution and if a release is needed to be done on pypi, please just contact one of us.\nWe also offer commercial support, training, coaching, integration or adaptions.\n\n\nContributions\n-------------\n\nInitial implementation by Jens W. Klein.\n\nFurther Authors:\n\n- no others so far\n\n\nLicense\n-------\n\nThe project is licensed under Zope Public License (ZPL) Version 2.1\n\nChangelog\n=========\n\n1.2.0 (2019-01-25)\n------------------\n\n- Add ``environ-required`` feature.\n [jensens]\n\n\n1.1.1 (2019-01-18)\n------------------\n\n- Fix problem with dollar (``$``) in environment values.\n Use os.path.expandvars first, then replace with ``__DOLLAR___``.\n [jensens]\n\n\n1.1.0 (2019-01-15)\n------------------\n\n- Add ``environ-output`` feature.\n [jensens]\n\n\n1.0.2 (2019-01-15)\n------------------\n\n- Minimize needed code.\n [jensens]\n\n\n1.0.1 (2019-01-15)\n------------------\n\n- Fix misformated readme.\n [jensens]\n\n\n1.0 (2019-01-15)\n----------------\n\n- Initial release. Make it work.\n [jensens]\n\n\nZope Public License (ZPL) Version 2.1\n-------------------------------------\n\nA copyright notice accompanies this license document that identifies the copyright holders.\n\nThis license has been certified as open source.\nIt has also been designated as GPL compatible by the Free Software Foundation (FSF).\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions in source code must retain the accompanying copyright\nnotice, this list of conditions, and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the accompanying copyright notice, this list of conditions, and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\n3. Names of the copyright holders must not be used to endorse or promote products derived from this software without prior written permission from the copyright holders.\n\n4. The right to distribute this software or to use it for any purpose does not give you the right to use Servicemarks (sm) or Trademarks (tm) of the copyright holders.\n Use of them is covered by separate agreement with the copyright holders.\n\n5. If any files are modified, you must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.\n\n\n**Disclaimer**\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS *AS IS* AND ANY EXPRESSED\nOR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\nEVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,\nINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\nPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\nEVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\nCopyright Holder\n----------------\n\nKlein & Partner KG, Innsbruck, Austria", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://pypi.python.org/pypi/buildout.environ", "keywords": "Python Buildout Extension", "license": "GNU General Public License v2 (GPLv2)", "maintainer": "", "maintainer_email": "", "name": "buildout.environ", "package_url": "https://pypi.org/project/buildout.environ/", "platform": "", "project_url": "https://pypi.org/project/buildout.environ/", "project_urls": { "Homepage": "https://pypi.python.org/pypi/buildout.environ" }, "release_url": "https://pypi.org/project/buildout.environ/1.2.0/", "requires_dist": null, "requires_python": "", "summary": "Expose system environment into buildout section", "version": "1.2.0" }, "last_serial": 4923062, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "f8c1c38cb0ba78eb8ff6913a13d4be6a", "sha256": "b5f664c0948fadc8735859c4e25dc9beb8e8fa5d5402c73362e50e1109117232" }, "downloads": -1, "filename": "buildout.environ-1.0.tar.gz", "has_sig": false, "md5_digest": "f8c1c38cb0ba78eb8ff6913a13d4be6a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4288, "upload_time": "2019-01-15T17:02:39", "url": "https://files.pythonhosted.org/packages/f0/b0/923c0bc395f48193548a35ed679d6c29992a2b3cf180304712594066109b/buildout.environ-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "200b36d13fede3f17852a61e022d4be5", "sha256": "ed2c3d03820e920e3ce870c3a71ea3de085b225b3c0c59040e11bfe76d80b097" }, "downloads": -1, "filename": "buildout.environ-1.0.1.tar.gz", "has_sig": false, "md5_digest": "200b36d13fede3f17852a61e022d4be5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4297, "upload_time": "2019-01-15T17:18:55", "url": "https://files.pythonhosted.org/packages/16/39/9d631bc1920aebf3020131156f47c09ba7ea8a7498803c459699925bb750/buildout.environ-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "504c77d9d48deff64300895dc5db523b", "sha256": "8488a64e21620e27ae4fcadc095a49d7690d06d2e2a227e0d65d7691af04730f" }, "downloads": -1, "filename": "buildout.environ-1.0.2.tar.gz", "has_sig": false, "md5_digest": "504c77d9d48deff64300895dc5db523b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4272, "upload_time": "2019-01-15T17:49:01", "url": "https://files.pythonhosted.org/packages/87/8c/09cbc33f95811747f8330d9005599d3bacf8e33c71d1a1eeff49849d6b3d/buildout.environ-1.0.2.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "9faa11949841f5fd486acde6d2119419", "sha256": "07595e37e9b5b6a5d39f92d09d6e11f14206888edbc9ba64fe6aaa9fabc50312" }, "downloads": -1, "filename": "buildout.environ-1.1.0.tar.gz", "has_sig": false, "md5_digest": "9faa11949841f5fd486acde6d2119419", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4607, "upload_time": "2019-01-15T19:54:18", "url": "https://files.pythonhosted.org/packages/a9/8e/aee8bf88b3c96bd1b9ca11b0e755f125402521b96dfc7502a97982beffb5/buildout.environ-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "3e0f092dd5972fee826c57c49031ea18", "sha256": "898e8cc97dee352a2e5a5e75bd7a75578b4f53ee7313a43d5af912cbe0446dda" }, "downloads": -1, "filename": "buildout.environ-1.1.1.tar.gz", "has_sig": false, "md5_digest": "3e0f092dd5972fee826c57c49031ea18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4763, "upload_time": "2019-01-18T09:47:11", "url": "https://files.pythonhosted.org/packages/77/aa/5c6eababe73b8d9c1a4366278d258f7c8473f373cf3310be9f8490436e19/buildout.environ-1.1.1.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "3049469db60977fcded531f7a94b5044", "sha256": "24bdded7bf3c133518e3de3786be403be28f97fdc6b5ea4ee995fe5bea84e88c" }, "downloads": -1, "filename": "buildout.environ-1.2.0.tar.gz", "has_sig": false, "md5_digest": "3049469db60977fcded531f7a94b5044", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5064, "upload_time": "2019-01-25T16:03:54", "url": "https://files.pythonhosted.org/packages/5f/a6/f2089d03a7b6cb1b7ab1ba8e089f5503a5ac40ddb6bc7d581ad2c229df1f/buildout.environ-1.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3049469db60977fcded531f7a94b5044", "sha256": "24bdded7bf3c133518e3de3786be403be28f97fdc6b5ea4ee995fe5bea84e88c" }, "downloads": -1, "filename": "buildout.environ-1.2.0.tar.gz", "has_sig": false, "md5_digest": "3049469db60977fcded531f7a94b5044", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5064, "upload_time": "2019-01-25T16:03:54", "url": "https://files.pythonhosted.org/packages/5f/a6/f2089d03a7b6cb1b7ab1ba8e089f5503a5ac40ddb6bc7d581ad2c229df1f/buildout.environ-1.2.0.tar.gz" } ] }