{ "info": { "author": "Anatoly Bubenkov", "author_email": "bubenkoff@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Buildout", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Build Tools" ], "description": "collective.recipe.pip\n=====================\n\nBuildout recipe which parses pip config files allowing to use both pip\nand buildout for same project independently\n\n.. image:: https://travis-ci.org/collective/collective.recipe.pip.png\n :target: https://travis-ci.org/collective/collective.recipe.pip\n.. image:: https://pypip.in/v/collective.recipe.pip/badge.png\n :target: https://crate.io/packages/collective.recipe.pip/\n.. image:: https://coveralls.io/repos/collective/collective.recipe.pip/badge.png?branch=master\n :target: https://coveralls.io/r/collective/collective.recipe.pip\n\n\nOverview\n========\n\nThis recipe allows to parse pip configuration files (usually named requirements.txt) into just list of the eggs to use\nin other parts of the buildout.\n\nThe recipe mirrors the parsed eggs list into its section, so that e.g.\n``${pip:eggs}`` will give the list of parsed eggs.\n\nThe list of eggs which come from urls (eg from github) are also exported to the urls param:\n``${pip:urls}`` will give the list of parsed egg urls.\n\n\nFor now single option of the recipe is ``configs`` - list of config files to parse.\n\nThe config files are parsed during the initialization of the ``Recipe`` instance,\ni.e. after ``buildout.cfg`` is read but before any recipe is installed or updated.\n\n\nExample usage: Use an environment variable\n==========================================\n\nLet's create test config files\n\n >>> write('requirements.txt',\n ... \"\"\"\n ... some.egg\n ... -e http://some.package.git.url#egg=develop.egg\n ... --use-wheel\n ... http://sourceforge.net/projects/pychecker/files/latest/download?source=files#egg=pychecker==0.8.19\n ... fabric>=0.9b1\n ... # some comment\n ... xlrd # reading excel worksheets\n ... html5lib==0.95\n ... \"\"\")\n\n >>> write('requirements-included.txt',\n ... \"\"\"\n ... some.included.egg\n ... \"\"\")\n\n >>> write('requirements-included2.txt',\n ... \"\"\"\n ... some.included.egg2\n ... \"\"\")\n\n >>> mkdir('file.package')\n >>> write('file.package/setup.py',\n ... \"\"\"\n ... from setuptools import setup\n ... setup(name='file.package')\n ... \"\"\")\n\n >>> write('requirements2.txt',\n ... \"\"\"\n ... -r requirements-included.txt\n ... --requirement requirements-included2.txt\n ... some2.egg\n ... django>=1.3,<1.4\n ... django-extensions #django extension requirements (not mandatory, but useful on dev)\n ... -e http://some2.package.git.url#egg=develop2.egg\n ... -e file.package\n ... --extra-index-url=http://some.index.url\n ... -f http://git.fabfile.org\n ... \"\"\")\n\n\nWe'll start by creating a buildout that uses the recipe::\n\n >>> write('buildout.cfg',\n ... r\"\"\"\n ... [buildout]\n ... parts = pip print\n ...\n ... [some-section]\n ... eggs = ${pip:eggs}\n ...\n ... [pip]\n ... recipe = collective.recipe.pip\n ... configs = requirements.txt\n ... requirements2.txt\n ... versions = versions\n ...\n ... [versions]\n ...\n ... [print]\n ... recipe = mr.scripty\n ... install =\n ... ... print(self.buildout['some-section']['eggs'])\n ... ... print('\\n[versions]')\n ... ... print('\\n'.join(i + ' = ' + k for i, k in sorted(self.buildout['versions'].items())))\n ... ... print('\\n[urls]')\n ... ... print(self.buildout['pip']['urls'])\n ... ... print('# done')\n ... ... return []\n ... \"\"\")\n\nThe `mr.scripty` recipe is used to print out the value of the ${some-section:some-option}\noption.\n\nRunning the buildout gives us::\n\n >>> import sys\n >>> sys.stdout.write('start\\n' + system(buildout))\n start...\n Installing pip.\n Installing print.\n develop.egg\n develop2.egg\n django-extensions\n django>=1.3,<1.4\n fabric>=0.9b1\n html5lib==0.95\n pychecker==0.8.19\n some.egg\n some.included.egg\n some.included.egg2\n some2.egg\n xlrd\n [versions]\n django = >=1.3,<1.4\n fabric = >=0.9b1\n html5lib = 0.95\n pychecker = 0.8.19\n zc.buildout = ...\n zc.recipe.egg = ...\n [urls]\n /sample-buildout/file.package\n git+http://some.package.git.url#egg=develop.egg\n git+http://some2.package.git.url#egg=develop2.egg\n http://sourceforge.net/projects/pychecker/files/latest/download?source=files#egg=pychecker==0.8.19\n ...\n\n\nContact\n-------\n\nIf you have questions, bug reports, suggestions, etc. please create an issue on\nthe `GitHub project page `_.\n\n\nLicense\n-------\n\nThis software is licensed under the `MIT license `_\n\nSee `License file `_\n\n\n\u00a9 2013 Anatoly Bubenkov and others.\n\nContributors\n============\n\n* Anatoly Bubenkov , Author\n\n* Abdul Kader Maliyakkal , Contributor\n\n* Christophe Combelles , Contributor\n\nChangelog\n=========\n\n0.3.4 (2016-05-25)\n------------------\n\n- Support recent pip 8.1.2 (ridha)\n\n\n0.3.2 (2015-07-19)\n------------------\n\n- Backward compatibility for older pip (ccomb)\n\n0.3.1 (2015-05-27)\n------------------\n\n- Support recent pip (7.x.x) (ridha)\n\n\n0.3.0 (2015-03-17)\n------------------\n\n- Support recent pip (6.x.x) (ridha)\n\n\n0.2.0 (2014-02-06)\n------------------\n\n- Correctly parse --use-wheel\n\n\n0.1.9 (2013-12-05)\n------------------\n\n- Support local editable eggs\n\n\n0.1.7 (2013-06-27)\n------------------\n\n- Support custom url-eggs to be seen in the urls param\n\n\n0.1.6 (2013-03-11)\n------------------\n\n- Unpredictable requirements parse case fixed\n\n\n0.1.5 (2013-02-18)\n------------------\n\n- Buildout 2.0.1 support added\n\n\n0.1.4 (2013-01-29)\n------------------\n\n- Fixed the home URL, remove unnecessary README.txt\n\n\n0.1.3 (2013-01-25)\n------------------\n\n- Refactored parsing to use native pip config parser, so now it's possible to nest configs via -r just like using pip\n\n\n0.1.2 (2013-01-05)\n------------------\n\n- Added filling versions part with parsed versions\n\n\n0.1.1 (2012-12-22)\n------------------\n\n- Improved version parsing\n\n\n0.1.0 (2012-12-22)\n------------------\n\n- First release.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/collective/collective.recipe.pip", "keywords": "zc.buildout buildout recipe", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "collective.recipe.pip", "package_url": "https://pypi.org/project/collective.recipe.pip/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.recipe.pip/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/collective/collective.recipe.pip" }, "release_url": "https://pypi.org/project/collective.recipe.pip/0.3.4/", "requires_dist": null, "requires_python": null, "summary": "zc.buildout recipe to parse pip config files ang use parsed info in a buildout.", "version": "0.3.4" }, "last_serial": 2133779, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "94c44e08f17c67774e4635ddf090a5ed", "sha256": "88314a219357acbece9a88e2b8491c44ea9e2c9a909e6da474833161099ff259" }, "downloads": -1, "filename": "collective.recipe.pip-0.1.0.tar.gz", "has_sig": false, "md5_digest": "94c44e08f17c67774e4635ddf090a5ed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4047, "upload_time": "2012-12-22T02:36:10", "url": "https://files.pythonhosted.org/packages/0d/8c/997bafa41c3393eaf7f94a86d2015ba9075a7101da61ac8e5b55b7c20277/collective.recipe.pip-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "d2d1120b0abf94fdc972e9b6bc1f2f15", "sha256": "c521796362518a3777c82b83444228f2e8b57a3661d049492ee7da76be7e1a08" }, "downloads": -1, "filename": "collective.recipe.pip-0.1.1.tar.gz", "has_sig": false, "md5_digest": "d2d1120b0abf94fdc972e9b6bc1f2f15", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4354, "upload_time": "2012-12-22T03:16:10", "url": "https://files.pythonhosted.org/packages/8b/85/44ef6e26f9bb44e4c2d6ac932d610d1ea57f198ed08320c9e581d59a8745/collective.recipe.pip-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "142ea8300ebf526482afabe7ca89febc", "sha256": "bc96ffe0d6f190284dfbcbebe622bfdda4c1db5315e8869a8b9a7e95da57e89e" }, "downloads": -1, "filename": "collective.recipe.pip-0.1.2.tar.gz", "has_sig": false, "md5_digest": "142ea8300ebf526482afabe7ca89febc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4756, "upload_time": "2013-01-05T02:08:20", "url": "https://files.pythonhosted.org/packages/dc/0a/c4c6c9491e3993db09ce67a3632b50aafce844279a92ffe3fe7eabf2a74b/collective.recipe.pip-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "2147fc1bef6c76f8a49eef4d03766898", "sha256": "e2e6eeb48463d82b84a440bb929ee4632cf25b5b5935d7568852e0b881b4e34c" }, "downloads": -1, "filename": "collective.recipe.pip-0.1.3.tar.gz", "has_sig": false, "md5_digest": "2147fc1bef6c76f8a49eef4d03766898", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4911, "upload_time": "2013-01-25T10:16:19", "url": "https://files.pythonhosted.org/packages/73/67/8d9a0d41d5a097789853ac3e8c934201a938f599e7e73768ad000e678552/collective.recipe.pip-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "a8f7221767b7fdb80bc14f04c2a5fe34", "sha256": "0aec39a698ead20e5fd6c5447720da19b68fc118615186383aacbac51c80b603" }, "downloads": -1, "filename": "collective.recipe.pip-0.1.4.tar.gz", "has_sig": false, "md5_digest": "a8f7221767b7fdb80bc14f04c2a5fe34", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4945, "upload_time": "2013-01-29T16:58:46", "url": "https://files.pythonhosted.org/packages/a1/77/9a4f88398c83889fd517825987b41fc43d1ffa3f8192a7e611f37d62c625/collective.recipe.pip-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "c15cf578f59d78d1ec9e0e2447175b4c", "sha256": "8a859e1757077152c669e11a32b1cd3f7e9e66da32e135a3799b88ded58f65bb" }, "downloads": -1, "filename": "collective.recipe.pip-0.1.5.tar.gz", "has_sig": false, "md5_digest": "c15cf578f59d78d1ec9e0e2447175b4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4965, "upload_time": "2013-02-18T15:45:23", "url": "https://files.pythonhosted.org/packages/c9/f7/0d498960d18ca23dcb4516d9f714c81de27f18fe7dfd46e2bd3281344f84/collective.recipe.pip-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "366e0635bbca6c353533680a209900e3", "sha256": "f13b3c6a42d6a36fae11fe88b4c891bcd06ffadbcc2c4f1c91cab4ca9272716c" }, "downloads": -1, "filename": "collective.recipe.pip-0.1.6.tar.gz", "has_sig": false, "md5_digest": "366e0635bbca6c353533680a209900e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5117, "upload_time": "2013-03-11T12:29:17", "url": "https://files.pythonhosted.org/packages/2e/32/910e4a291034fe884a750893f16d877c4e47dd473cb91d62970af9593d3f/collective.recipe.pip-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "ef83ca8aa05a122b7a84247fdf88fe94", "sha256": "6d32b6e92e087be8234291d2c25f23645d6814366592c113d6c6843f2918b348" }, "downloads": -1, "filename": "collective.recipe.pip-0.1.7.tar.gz", "has_sig": false, "md5_digest": "ef83ca8aa05a122b7a84247fdf88fe94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5655, "upload_time": "2013-08-21T00:25:09", "url": "https://files.pythonhosted.org/packages/28/52/57a4d99eb28aa85b798181acb90950671dc561198f0f00db8c0b152cdc21/collective.recipe.pip-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "db07cebc3c085e6ff648bec82a61c561", "sha256": "be6f03516c402445cbe0b134ab0602266d18bf2428e40862861d95d0d78d9b9e" }, "downloads": -1, "filename": "collective.recipe.pip-0.1.8.tar.gz", "has_sig": false, "md5_digest": "db07cebc3c085e6ff648bec82a61c561", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5820, "upload_time": "2013-12-05T09:46:44", "url": "https://files.pythonhosted.org/packages/2b/e2/7932f0a518460d6a015e96767e9f33bd4673110bdb2ab1de0038a8544ff3/collective.recipe.pip-0.1.8.tar.gz" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "760c620ef812035d6f9126816f536836", "sha256": "66b2ba8a50d3aae611ba3a5f26ddee1a16adbb1d55b50dc629c98631cfdb584c" }, "downloads": -1, "filename": "collective.recipe.pip-0.1.9.tar.gz", "has_sig": false, "md5_digest": "760c620ef812035d6f9126816f536836", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5899, "upload_time": "2013-12-05T12:05:16", "url": "https://files.pythonhosted.org/packages/57/81/660070df2788e12e86284827ea759e8a605c963b79b31fb52fe061bad44e/collective.recipe.pip-0.1.9.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "44d2b288f5f77707486f763321a80372", "sha256": "3cdac72fc34097983726653343dfdfa1b43fd8e8e96c5c0129eda1abff062c1e" }, "downloads": -1, "filename": "collective.recipe.pip-0.2.0.tar.gz", "has_sig": false, "md5_digest": "44d2b288f5f77707486f763321a80372", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5982, "upload_time": "2014-02-06T10:51:42", "url": "https://files.pythonhosted.org/packages/4b/00/2e6ea0b819e79220b63242c820a300466edd44ac085b9a0a1b69ffa82832/collective.recipe.pip-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "0302884834db035e361c3005d124e81c", "sha256": "9b2132b79f73dc2545aff919ec581e4881358a8452c5c55242953d7de734e6b4" }, "downloads": -1, "filename": "collective.recipe.pip-0.3.0.tar.gz", "has_sig": false, "md5_digest": "0302884834db035e361c3005d124e81c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6361, "upload_time": "2015-03-17T21:36:17", "url": "https://files.pythonhosted.org/packages/73/5c/046de519e23f3d9fa94eda493f891e20c26863dc2284f41a98ec36115edc/collective.recipe.pip-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "ccbad46561228908a0df5a29a2380c21", "sha256": "93df3cca7b7fb96bb8f624543a02aa2ca65eea1f8a87a5f5d42670682fd3fa88" }, "downloads": -1, "filename": "collective.recipe.pip-0.3.1.tar.gz", "has_sig": false, "md5_digest": "ccbad46561228908a0df5a29a2380c21", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6605, "upload_time": "2015-05-27T08:06:51", "url": "https://files.pythonhosted.org/packages/f4/c3/12282cf07cc6eb8ed870b09a2a37164e62a5c27d2cad46444e68babce9c2/collective.recipe.pip-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "2fb23484a6c8b65851fd70174e24b524", "sha256": "a1b7a96e8fdceb7f228dad399e975b86ac97a027fb29606ad9f8dc5ae36a5194" }, "downloads": -1, "filename": "collective.recipe.pip-0.3.2.tar.gz", "has_sig": false, "md5_digest": "2fb23484a6c8b65851fd70174e24b524", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7685, "upload_time": "2015-06-19T14:38:24", "url": "https://files.pythonhosted.org/packages/ed/a4/072942f1a1f85ffcfec12230265b81943298323013c96899b8a2fae6c1b9/collective.recipe.pip-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "0aeaf43e9bcc25fab984e5b145c750b4", "sha256": "ad05cdc078d9da63c63816c8356bcaed6e4c54867d0a21d51929e49ea7786e35" }, "downloads": -1, "filename": "collective.recipe.pip-0.3.3.tar.gz", "has_sig": false, "md5_digest": "0aeaf43e9bcc25fab984e5b145c750b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6934, "upload_time": "2016-05-21T00:31:09", "url": "https://files.pythonhosted.org/packages/0c/5a/8a9b7538680650a3a27f866c7e475b6efb4a6ea4af2f1d744177e71214f3/collective.recipe.pip-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "8efe080a568b8699bce3da3aa7dbf501", "sha256": "4fc4b429eb55c04265df524c5d02056d4a08f364ddfef28093986a3f441e0ba2" }, "downloads": -1, "filename": "collective.recipe.pip-0.3.4.tar.gz", "has_sig": false, "md5_digest": "8efe080a568b8699bce3da3aa7dbf501", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7001, "upload_time": "2016-05-25T21:37:12", "url": "https://files.pythonhosted.org/packages/40/4c/45fa5168c58f74839fad9b42c149b256ffc8a76ba91d24c41bcf3094d3d4/collective.recipe.pip-0.3.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8efe080a568b8699bce3da3aa7dbf501", "sha256": "4fc4b429eb55c04265df524c5d02056d4a08f364ddfef28093986a3f441e0ba2" }, "downloads": -1, "filename": "collective.recipe.pip-0.3.4.tar.gz", "has_sig": false, "md5_digest": "8efe080a568b8699bce3da3aa7dbf501", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7001, "upload_time": "2016-05-25T21:37:12", "url": "https://files.pythonhosted.org/packages/40/4c/45fa5168c58f74839fad9b42c149b256ffc8a76ba91d24c41bcf3094d3d4/collective.recipe.pip-0.3.4.tar.gz" } ] }