{ "info": { "author": "Mathieu Pasquet", "author_email": "kiorky@cryptelium.net", "bugtrack_url": null, "classifiers": [ "Framework :: Buildout", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "******************************************************************************\nRecipe for compiling and installing software with or without minitage\n******************************************************************************\n\n.. contents::\n\n=======================\nIntroduction\n=======================\n\nThe egg has those entry point:\n\n - *printer*: print or dump to a file all versions needed to achieve eggs\n requirements (versions.cfg made easy)\n\nYou can browse the code on minitage's following resources:\n\n - http://git.minitage.org/git/minitage/eggs/minitage.recipe.printer/\n - http://www.minitage.org/trac/browser/minitage/eggs/minitage.recipe.printer\n\n======================================\nMakina Corpus sponsored software\n======================================\n|makinacom|_\n\n* `Planet Makina Corpus `_\n* `Contact us `_\n\n .. |makinacom| image:: http://depot.makina-corpus.org/public/logo.gif\n .. _makinacom: http://www.makina-corpus.com\n\n\n\n\n\n===============================================\nminitage.recipe.printer\n===============================================\n\n\nAbstract\n-----------------\n\n - This recipe intends to install eggs and python software and on top of installed stuff, generating KGS (Known good Set) versions file.\n - This will help you to pin all the eggs used by a specific application by generating nicely configs with all eggs pinned insude?\n - This recipe inherit from minitage;recipe:egg.\n\nSpecific options\n-----------------\n\nPlease look for options at : http://pypi.python.org/pypi/minitage.recipe.common#options-shared-by-all-the-recipes\nAnd also for options at :http://pypi.python.org/pypi/minitage.recipe.egg#specific-options\n\n * quiet\n if set: do not print anything to stdout\n * file\n file to write the version to\n\nDetailled documentation\n-------------------------\n\nLet's create a buildout configuration file::\n\n >>> rmdir(tempdir)\n >>> mkdir(tempdir)\n >>> cd(tempdir)\n >>> a = [mkdir(d) for d in ('eggs', 'develop-eggs', 'bin', 'src')]\n >>> install_develop_eggs(['minitage.recipe.printer'])\n >>> install_eggs_from_pathes(['zc.buildout'], sys.path)\n >>> touch('buildout.cfg')\n >>> sh('buildout -o bootstrap')\n buildout -o bootstrap...\n >>> index_url = start_server(os.path.sep.join(tempdir))\n\nInitializing test env.\n+++++++++++++++++++++++\n::\n\n >>> if os.path.exists('foo'): rmdir(foo)\n >>> mkdir('foo')\n >>> mkdir('foo/src/toto')\n >>> touch('foo/setup.py', data=\"\"\"\n ... from setuptools import setup, find_packages\n ... setup(name='foo', version='1.0',\n ... packages=find_packages('src'),\n ... package_dir = {'': 'src'},\n ... include_package_data=True,\n ... scripts=['src/toto/toto.py'],\n ... entry_points={'console_scripts': ['s=toto.toto:f']},\n ... )\n ... \"\"\")\n >>> touch('foo/src/toto/__init__.py')\n >>> touch('foo/src/toto/toto.py', data=\"\"\"\n ... def f():\n ... print \"foo\"\n ... if __name__ == '__main__' :\n ... print 'called'\n ...\n ... \"\"\")\n >>> noecho = [os.remove(d) for d in os.listdir('.') if '.tar.gz' in d]\n >>> os.chdir('foo')\n >>> sh('python setup.py sdist')\n p...\n >>> noecho = [shutil.copy(os.path.join('dist', d), os.path.join('..', d)) for d in os.listdir('dist')]\n >>> os.chdir('..')\n\nWriting only to output\n+++++++++++++++++++++++++++++++\nDo not specify the file option.\n\n >>> data = \"\"\"\n ... [buildout]\n ... download-cache=${buildout:directory}\n ... parts = part\n ... [part]\n ... recipe=minitage.recipe.printer\n ... find-links=%(index)s\n ... eggs=foo\n ... \"\"\"%{'index': index_url}\n >>> touch('buildout.cfg', data=data)\n >>> sh('bin/buildout -vvvvv install')\n b...\n minitage.recipe: Maybe put this in a cfg like file ;)\n #--- 8-< 8-< 8-< 8-< 8-< 8-< 8-< ---...\n [versions]\n foo=1.0...\n [buildout]\n versions=versions...\n #--- 8-< 8-< 8-< 8-< 8-< 8-< 8-< ---...\n\nWriting to a file\n++++++++++++++++++++++++\nFeed the part with the file option.\n\n >>> data = \"\"\"\n ... [buildout]\n ... download-cache=${buildout:directory}\n ... parts = part\n ... [part]\n ... recipe=minitage.recipe.printer\n ... find-links=%(index)s\n ... eggs=foo\n ... file=toto.cfg\n ... \"\"\"%{'index': index_url}\n >>> touch('buildout.cfg', data=data)\n >>> sh('bin/buildout -vvvvv install')\n b...\n #--- 8-< 8-< 8-< 8-< 8-< 8-< 8-< ---\n minitage.recipe: Generated: toto.cfg...\n\n >>> cat('toto.cfg')\n \n \n [versions]\n foo=1.0\n \n [buildout]\n versions=versions\n \n \n\nBe quiet please, baby is sleeping\n++++++++++++++++++++++++++++++++++++++\nSet the quiet flag.\n\n >>> data = \"\"\"\n ... [buildout]\n ... download-cache=${buildout:directory}\n ... parts = part\n ... [part]\n ... recipe=minitage.recipe.printer\n ... find-links=%(index)s\n ... eggs=foo\n ... quiet=1\n ... file=toto.cfg\n ... \"\"\"%{'index': index_url}\n >>> touch('buildout.cfg', data=data)\n >>> sh('bin/buildout -vvvvv install')\n b...\n minitage.recipe: All egg dependencies seem to be installed!\n minitage.recipe: Generated: toto.cfg...\n\n\n=======================\nCHANGELOG\n=======================\n1.39 (2013-03-29)\n-----------------\n- release fix\n\n1.36\n---------\n\n - decorator helper\n\n\n1.35\n--------\n\n - splitted out from minitage.recipe", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://cheeseshop.python.org/pypi/minitage.recipe.printer", "keywords": "development buildout recipe", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "minitage.recipe.printer", "package_url": "https://pypi.org/project/minitage.recipe.printer/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/minitage.recipe.printer/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://cheeseshop.python.org/pypi/minitage.recipe.printer" }, "release_url": "https://pypi.org/project/minitage.recipe.printer/1.39/", "requires_dist": null, "requires_python": null, "summary": "zc.buildout recipes to compile and install software or python packages and generate scripts or configuration files sponsored by Makina Corpus.", "version": "1.39" }, "last_serial": 794819, "releases": { "1.35": [ { "comment_text": "", "digests": { "md5": "685e03a9fc7b2666f59616ac2c69a837", "sha256": "2427f96fe485f77a638f2ae8507d94a90686ae14f3073349ed07530cd1ad3683" }, "downloads": -1, "filename": "minitage.recipe.printer-1.35.zip", "has_sig": false, "md5_digest": "685e03a9fc7b2666f59616ac2c69a837", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23727, "upload_time": "2009-08-19T22:46:08", "url": "https://files.pythonhosted.org/packages/f1/71/a9b4f6f2f9aceda37d417cc73c44957c6ae1990bebb414732fa98c3fe091/minitage.recipe.printer-1.35.zip" } ], "1.36": [ { "comment_text": "", "digests": { "md5": "d8fc4125051051e96283f78cf1a16ba7", "sha256": "02f661597a6ab338630f31d04766ee788480fed3d9adfe8799607ac13a244298" }, "downloads": -1, "filename": "minitage.recipe.printer-1.36.zip", "has_sig": false, "md5_digest": "d8fc4125051051e96283f78cf1a16ba7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18154, "upload_time": "2009-09-25T02:10:14", "url": "https://files.pythonhosted.org/packages/72/1f/41619b71d52d798511396af332ca5e108a97845fbc60d4d06dbfe5ac7581/minitage.recipe.printer-1.36.zip" } ], "1.37": [ { "comment_text": "", "digests": { "md5": "71a26b8da20c2bc34c35d497257f030c", "sha256": "d2533dc25a533ef34394f5469e3ae00e544b3a5c230fcb148153f01e2a92a4df" }, "downloads": -1, "filename": "minitage.recipe.printer-1.37.zip", "has_sig": false, "md5_digest": "71a26b8da20c2bc34c35d497257f030c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18158, "upload_time": "2009-09-26T01:12:51", "url": "https://files.pythonhosted.org/packages/51/b0/3fb753263c0c4b83b8dad175c668af75f4cfdb4be515829a2032963dfabb/minitage.recipe.printer-1.37.zip" } ], "1.38": [ { "comment_text": "", "digests": { "md5": "0f2d34e27ba82ede4a8f01e3d87734ba", "sha256": "a95330f16bad3053e6278cabdd7ce6df7044c297665e022debef52030669444e" }, "downloads": -1, "filename": "minitage.recipe.printer-1.38.zip", "has_sig": false, "md5_digest": "0f2d34e27ba82ede4a8f01e3d87734ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19894, "upload_time": "2009-11-20T09:24:18", "url": "https://files.pythonhosted.org/packages/fa/b2/f954d65be7fd2cfd1b785675b593818eb6a9cfd61b5712687994bd8a60f5/minitage.recipe.printer-1.38.zip" } ], "1.39": [ { "comment_text": "", "digests": { "md5": "872f558001c2502a80cfa4d352da3c90", "sha256": "ad8a0bd959dd4be50c12ea144beafe22fc043c7da87516d2c85d184c4c5d4def" }, "downloads": -1, "filename": "minitage.recipe.printer-1.39.zip", "has_sig": false, "md5_digest": "872f558001c2502a80cfa4d352da3c90", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16702, "upload_time": "2013-03-29T22:07:02", "url": "https://files.pythonhosted.org/packages/d0/3e/3dac72221a72411563d80e08b2c70b5450472754574b5a2a41b292918dc1/minitage.recipe.printer-1.39.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "872f558001c2502a80cfa4d352da3c90", "sha256": "ad8a0bd959dd4be50c12ea144beafe22fc043c7da87516d2c85d184c4c5d4def" }, "downloads": -1, "filename": "minitage.recipe.printer-1.39.zip", "has_sig": false, "md5_digest": "872f558001c2502a80cfa4d352da3c90", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16702, "upload_time": "2013-03-29T22:07:02", "url": "https://files.pythonhosted.org/packages/d0/3e/3dac72221a72411563d80e08b2c70b5450472754574b5a2a41b292918dc1/minitage.recipe.printer-1.39.zip" } ] }