{ "info": { "author": "Stefan Eletzhofer", "author_email": "stefan.eletzhofer (at) inquant.de", "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": "collective.recipe.zcml\n======================\n\nzc.buildout recipe to create zcml slugs. Useful\nfor example in a repoze based buildout.\n\nChange history\n**************\n\n0.1 (2008-07-04)\n==================\n\n - Created recipe with ZopeSkel [Stefan Eletzhofer].\n\nDetailed Documentation\n**********************\n\nSupported options\n=================\n\nThe recipe supports the following options:\n\nzcml\n A list of zcml entires.\n\n format::\n\n zcml := package \":\" filename\n package := dottedname | dottedname \"-\" ( \"configure\" |\u00a0\"meta\" | \"overrides\" )\n\nzope2-location\n The location of the zope 2 installation.\n\nThe guts of creating ZCML slugs was ripped from **plone.recipe.zope2install**.\n\nExample usage\n=============\n\nWe'll start by creating a buildout that uses the recipe::\n\n >>> write('buildout.cfg',\n ... \"\"\"\n ... [buildout]\n ... parts = test1\n ...\n ... [test1]\n ... recipe = collective.recipe.zcml\n ... zope2-location=${buildout:directory}/zope\n ... zcml =\n ... my.package\n ... somefile:my.otherpackage\n ... my.thirdpackage-meta\n ... \"\"\")\n\nRunning the buildout gives us::\n\n >>> print 'start', system(buildout) # doctest:+ELLIPSIS\n start Installing test1.\n While:\n Installing test1.\n \n An internal error occured due to a bug in either zc.buildout or in a\n recipe being used:\n \n OSError:\n [Errno 2] No such file or directory: '/sample-buildout/zope/etc/package-includes'\n \n\nWe need to have a valid zope installation. Let's fake one::\n\n >>> mkdir(\"zope\")\n >>> mkdir(\"zope\", \"etc\")\n >>> print 'start', system(buildout) # doctest:+ELLIPSIS\n start Installing test1.\n\nWe now have a package include directory::\n\n >>> ls(\"zope\", \"etc\")\n d package-includes\n\nIt does contain ZCML slugs::\n\n >>> ls(\"zope\", \"etc\", \"package-includes\")\n - 001-my.package-configure.zcml\n - 002-somefile-configure.zcml\n - 003-my.thirdpackage-meta.zcml\n\nThese files contain the usual stuff::\n\n >>> cat(\"zope\", \"etc\", \"package-includes\", \"001-my.package-configure.zcml\")\n \n >>> cat(\"zope\", \"etc\", \"package-includes\", \"002-somefile-configure.zcml\")\n \n >>> cat(\"zope\", \"etc\", \"package-includes\", \"003-my.thirdpackage-meta.zcml\")\n \n\nThat's all.\n\n\n\nContributors\n************\n\nStefan Eletzhofer, Author\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": "https://svn.plone.org/svn/collective/buildout/collective.recipe.zcml/trunk", "keywords": "", "license": "ZPL", "maintainer": null, "maintainer_email": null, "name": "collective.recipe.zcml", "package_url": "https://pypi.org/project/collective.recipe.zcml/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.recipe.zcml/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://svn.plone.org/svn/collective/buildout/collective.recipe.zcml/trunk" }, "release_url": "https://pypi.org/project/collective.recipe.zcml/0.1/", "requires_dist": null, "requires_python": null, "summary": "ZCML slug generation to be used separately e.g for repoze based setups", "version": "0.1" }, "last_serial": 788160, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f918eebcd922a0addc9272ef3f0d5c49", "sha256": "ed434312f026560a2302c8a36050cb56563600dc4b39952e0b7a844f02213996" }, "downloads": -1, "filename": "collective.recipe.zcml-0.1-py2.4.egg", "has_sig": false, "md5_digest": "f918eebcd922a0addc9272ef3f0d5c49", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 9769, "upload_time": "2008-06-04T14:45:52", "url": "https://files.pythonhosted.org/packages/44/fb/324a793e8bb2d856f915bf32a294314c6cd812883c160ed51eacdb585d01/collective.recipe.zcml-0.1-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "ca9679ccfeed2f0ef1520d54000ab2c0", "sha256": "30b6c5941622ea8788716248799aa751d9abf14e7cfd6ce5df88da12e96420c7" }, "downloads": -1, "filename": "collective.recipe.zcml-0.1.tar.gz", "has_sig": false, "md5_digest": "ca9679ccfeed2f0ef1520d54000ab2c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5718, "upload_time": "2008-06-04T14:45:52", "url": "https://files.pythonhosted.org/packages/27/ef/5c2131b71354784f4076de1fda69dc108f02cabba8d051c3b021ff73cb67/collective.recipe.zcml-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f918eebcd922a0addc9272ef3f0d5c49", "sha256": "ed434312f026560a2302c8a36050cb56563600dc4b39952e0b7a844f02213996" }, "downloads": -1, "filename": "collective.recipe.zcml-0.1-py2.4.egg", "has_sig": false, "md5_digest": "f918eebcd922a0addc9272ef3f0d5c49", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 9769, "upload_time": "2008-06-04T14:45:52", "url": "https://files.pythonhosted.org/packages/44/fb/324a793e8bb2d856f915bf32a294314c6cd812883c160ed51eacdb585d01/collective.recipe.zcml-0.1-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "ca9679ccfeed2f0ef1520d54000ab2c0", "sha256": "30b6c5941622ea8788716248799aa751d9abf14e7cfd6ce5df88da12e96420c7" }, "downloads": -1, "filename": "collective.recipe.zcml-0.1.tar.gz", "has_sig": false, "md5_digest": "ca9679ccfeed2f0ef1520d54000ab2c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5718, "upload_time": "2008-06-04T14:45:52", "url": "https://files.pythonhosted.org/packages/27/ef/5c2131b71354784f4076de1fda69dc108f02cabba8d051c3b021ff73cb67/collective.recipe.zcml-0.1.tar.gz" } ] }