{ "info": { "author": "Anshuman Bhaduri", "author_email": "anshuman.bhaduri0@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Buildout", "Framework :: Buildout :: Recipe", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Topic :: Software Development :: Build Tools" ], "description": ".. contents::\n\nIntroduction\n============\n\nThis recipe allows downloading and installing assets such as images, CSS and JavaScript using Twitter Bower.\n\nSupported options\n=================\n\nThe recipe supports the following options:\n\npackages\n Packages that should be installed with bower. Packages specified here are\n passed to bower verbatim. They can be specified in any form that is\n supported by bower::\n\n packages =\n underscore\n git://github.com/components/jquery.git\n bootstrap#2.2.2\n\nbase-directory\n Absolute path to the bower \"project\" directory. ``bower install`` is run\n from this directory and the bower configuration file, ``.bowerrc`` is also\n placed here. Optional; defaults to ``${buildout:parts-directory}/bower``.\n Requires an absolute path.\n\n This directory is not removed when the Buildout part is uninstalled.\n\nexecutable\n Absolute path to the ``bower`` executable. Packages are installed using\n this executable. Optional; defaults to ``bower`` on ``PATH``.\n\ndownloads\n Relative path, from the ``base-directory``, to the directory where bower\n will download packages to. This path is written to the ``.bowerrc`` file\n prior to running the executable. Optional; defaults to ``downloads``. Thus,\n the downloaded packages are placed in ``${base-directory}/downloads`` by\n default.\n\n This directory *is* removed when the Buildout part is uninstalled.\n\n\nExample usage\n=============\n\nA sample buildout that uses this recipe could look like::\n\n [buildout]\n parts = node web\n\n [node]\n recipe = gp.recipe.node\n url = http://nodejs.org/dist/v0.8.16/node-v0.8.16.tar.gz\n npms = bower@0.6.8\n scripts = bower\n\n [web]\n recipe = bowerrecipe\n packages = jquery#1.8.3 normalize-css\n executable = ${buildout:bin-directory}/bower\n\nThis would place the downloaded packages in ``parts/bower/downloads``.\nModifying the ``web`` section to be::\n\n [web]\n recipe = bowerrecipe\n packages = jquery#1.8.3 normalize-css\n executable = ${buildout:bin-directory}/bower\n base-directory = ${buildout:parts-directory}\n downloads = components\n\nwould result in bower placing the downloaded packages in ``parts/components``.\n\nNotes\n=====\n\n#. Bower still looks at the ``~/.bowerrc`` file. Hence, if this file exists, it\n may affect the buildout bower configuration\n#. Bower still uses the cache located in the user's home directory. For me,\n this happens to be ``~/.bower/cache/``\n\n\nContributors\n============\n\nAnshuman Bhaduri\nSebastian Wehrmann\n\n\nChangelog\n=========\n\n0.2\n-----\n\n- Fix removal of base directory upon uninstall. (#1)\n\n- Update files on every buildout run, rather loading them once.\n\n0.1.1\n-----\n\n- Fixed documentation so it displays correctly on PyPI\n [Anshuman Bhaduri]\n\n0.1\n---\n\n- Created initial recipe\n [Anshuman Bhaduri]\n\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": "http://github.com/anshumanb/bowerrecipe", "keywords": "", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "bowerrecipe", "package_url": "https://pypi.org/project/bowerrecipe/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/bowerrecipe/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/anshumanb/bowerrecipe" }, "release_url": "https://pypi.org/project/bowerrecipe/0.2/", "requires_dist": null, "requires_python": null, "summary": "zc.buildout recipe to install static resources using Twitter Bower.", "version": "0.2" }, "last_serial": 1591268, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "11412d18e1362b776de6a7d12c6c645b", "sha256": "ac75144b88ed14814a2f34e5840d3e144139699a0cb55841edf8ac33eccb3724" }, "downloads": -1, "filename": "bowerrecipe-0.1.tar.gz", "has_sig": false, "md5_digest": "11412d18e1362b776de6a7d12c6c645b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4918, "upload_time": "2012-12-26T01:02:07", "url": "https://files.pythonhosted.org/packages/5d/ee/c89d1fd2452d669e563c49bb19a3e23896e1acd3194401707dcfd48743bb/bowerrecipe-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "5d943831d660d508fb2eed09927c6023", "sha256": "2d005c7bf5d30bd3b52627dc2d4bb783b71fa8abe7f7e3371bff7c9caaa87228" }, "downloads": -1, "filename": "bowerrecipe-0.1.1.tar.gz", "has_sig": false, "md5_digest": "5d943831d660d508fb2eed09927c6023", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4941, "upload_time": "2012-12-26T02:09:44", "url": "https://files.pythonhosted.org/packages/72/d0/4ac100796e5e88648bdb5b3aacc9f47ece067e9f7d92fdabb7d0e635e16d/bowerrecipe-0.1.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "4bdd78b9a658875b3750487c9f8633ae", "sha256": "c298839e16506717e1fa2a586f60bf195a509ad90483bc23dbaee15e8a89f8fa" }, "downloads": -1, "filename": "bowerrecipe-0.2.tar.gz", "has_sig": false, "md5_digest": "4bdd78b9a658875b3750487c9f8633ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5054, "upload_time": "2015-06-14T01:39:32", "url": "https://files.pythonhosted.org/packages/14/09/f9621f2e4fea01fe60c2c85da46c4d13059a4d11999fd78835e9907651cd/bowerrecipe-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4bdd78b9a658875b3750487c9f8633ae", "sha256": "c298839e16506717e1fa2a586f60bf195a509ad90483bc23dbaee15e8a89f8fa" }, "downloads": -1, "filename": "bowerrecipe-0.2.tar.gz", "has_sig": false, "md5_digest": "4bdd78b9a658875b3750487c9f8633ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5054, "upload_time": "2015-06-14T01:39:32", "url": "https://files.pythonhosted.org/packages/14/09/f9621f2e4fea01fe60c2c85da46c4d13059a4d11999fd78835e9907651cd/bowerrecipe-0.2.tar.gz" } ] }