{ "info": { "author": "Christian Theune", "author_email": "ct@gocept.com", "bugtrack_url": null, "classifiers": [ "Framework :: Buildout", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": ".. contents::\n\n- Code repository: http://svn.gocept.com/\n\n\nDetailed Documentation\n**********************\n\nExample usage\n=============\n\nThe value of this recipe is that its part can be referenced from other parts\nusing the ${...} syntax. The recipe mirrors the current environment variables\ninto its section, so that e.g. ${env:USER} will give the current user.\n\nIn addition to whatever is in the environment, `UID` and `GID` will be set to\nthe effective user id and group id as reported by Python's `os` module.\n\nLet's look at how this works:\n\n >>> write('buildout.cfg',\n ... \"\"\"\n ... [buildout]\n ... parts = env\n ...\n ... [env]\n ... recipe = gocept.recipe.env\n ... \"\"\")\n\nThis configuration references an environment variable called\n`buildout-test-info`. Lets set it so we know its value:\n\n >>> import os\n >>> os.environ['buildout-test-info'] = '42'\n\nRunning the buildout gives us::\n\n >>> print 'start', system(buildout) # doctest:+ELLIPSIS\n start...\n Installing env.\n \n\nAnd the `installed.cfg` recorded the corresponding environment value:\n\n >>> cat('.installed.cfg')\n [buildout]\n ...\n [env]\n ...\n GID = ...\n ...\n UID = ...\n ...\n buildout-test-info = 42\n ...\n\nContributors\n************\n\n* Christian Theune , Author\n* Thomas Lotze , Author\n\n\nChange history\n**************\n\n1.0 (2008-07-22)\n================\n\n- Created recipe with ZopeSkel [Christian Theune ].\n\nDownload\n********", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": "buildout", "license": "ZPL", "maintainer": null, "maintainer_email": null, "name": "gocept.recipe.env", "package_url": "https://pypi.org/project/gocept.recipe.env/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/gocept.recipe.env/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/gocept.recipe.env/1.0/", "requires_dist": null, "requires_python": null, "summary": "Mirror environment variables into a buildout section.", "version": "1.0" }, "last_serial": 792578, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "72d7f17c49ec4c65db4f7f72c5809e56", "sha256": "37d4d8ebc1504560687aed3702c0f756947a9a0440f72247a937b8a1498c7f8b" }, "downloads": -1, "filename": "gocept.recipe.env-1.0.tar.gz", "has_sig": false, "md5_digest": "72d7f17c49ec4c65db4f7f72c5809e56", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4569, "upload_time": "2008-07-22T10:53:23", "url": "https://files.pythonhosted.org/packages/91/e5/9694fd80aa3b19fbcea55830fa91632b234be360bc2640b80db74da902d6/gocept.recipe.env-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "72d7f17c49ec4c65db4f7f72c5809e56", "sha256": "37d4d8ebc1504560687aed3702c0f756947a9a0440f72247a937b8a1498c7f8b" }, "downloads": -1, "filename": "gocept.recipe.env-1.0.tar.gz", "has_sig": false, "md5_digest": "72d7f17c49ec4c65db4f7f72c5809e56", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4569, "upload_time": "2008-07-22T10:53:23", "url": "https://files.pythonhosted.org/packages/91/e5/9694fd80aa3b19fbcea55830fa91632b234be360bc2640b80db74da902d6/gocept.recipe.env-1.0.tar.gz" } ] }