{ "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\nRecipe for doing simple \"python setup.py build && python setup.py install --prefix\"\nmaybe inside and with (or without) the help of an underlying minitage\nenvironment.\n\nYou can browse the code on minitage's following resources:\n\n - https://github.com/minitage/minitage.recipe.du\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:fetch\n===============================================\n\n\nAbstract\n-----------------\n - you need virtualenv and zc.buildout to run tests.\n - This recipe can be used to install python packages in a specific directory aLaDisutils way (python setup.py build && python setup.py install)\n\nSpecific options\n-----------------\nPlease look for options at : http://pypi.python.org/pypi/minitage.recipe.common#options-shared-by-all-the-recipes\n\n- *site-packages* : where to drop the builded python files\n\nSpecific hooks\n---------------\n\n- *pre_setup_hook* : before python setup.py build dance is called\n- *pre_install_hook* : before python setup.py install dance is called\n- *post_setup_hook* : after python setup.py install dance is called\n\n\nLet's create a buildout configuration file\n-------------------------------------------\n::\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.du'])\n >>> install_eggs_from_pathes(['zc.buildout'], sys.path)\n >>> touch('buildout.cfg')\n >>> sh('virtualenv --no-site-packages .')\n virtualenv --no-site-packages .\n Using real prefix '/usr'\n New python executable in ./bin/python\n Installing setuptools............done.\n \n \n >>> sh('bin/easy_install -U zc.buildout')\n bin/easy_install -U zc.buildout...\n Finished processing dependencies for zc.buildout\n \n \n >>> sh('bin/buildout -o bootstrap')\n bin/buildout -o bootstrap...\n\nInitializing test env.\n-----------------------------\n::\n\n >>> if not os.path.exists('foo'):\n ... mkdir('foo')\n ... else:\n ... rmdir(foo)\n ... mkdir('foo')\n >>> touch('foo/setup.py', data=\"\"\"\n ... from setuptools import setup\n ... setup(name='foo', version='1.0')\n ...\n ... \"\"\")\n >>> touch('foo/toto.py', data=\"\"\"\n ... def f():\n ... print \"foo\"\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\n\n\nInstalling \"A la python setup.py install\"\n--------------------------------------------\n\nYou can also install directly from urls.\nwe ll use it to check the already present distribution files in the cache.\n\n >>> data = \"\"\"\n ... [buildout]\n ... parts=ez\n ... [ez]\n ... executable = ${buildout:directory}/bin/python\n ... recipe = minitage.recipe.du\n ... url = file://${buildout:directory}/foo-1.0.tar.gz\n ... site-packages=${buildout:directory}/myfoo\n ... \"\"\"\n >>> touch('buildout.cfg', data=data)\n >>> sh('bin/buildout -vvvvvv install ez')\n b...\n Installing ez.\n minitage.recipe: Installing python package.\n minitage.recipe: Download archive\n minitage.recipe: Searching cache at ...\n minitage.recipe: Using cache file in /home/kiorky/.buildout/downloads/minitage/foo-1.0.tar.gz\n minitage.recipe: Unpacking in /tmp/buildout.test/__minitage__ez__tmp.\n minitage.recipe: Guessing compilation directory\n minitage.recipe: Setting path\n minitage.recipe: Setting pkgconfigpath\n minitage.recipe: Setting path\n minitage.recipe: Setting path\n minitage.recipe: Setting compilation flags\n minitage.recipe: Running \"/tmp/buildout.test/bin/python\" setup.py build\n running build\n minitage.recipe: Setting path\n minitage.recipe: Running \"/tmp/buildout.test/bin/python\" setup.py install --install-purelib=\"/tmp/buildout.test/myfoo\" --install-platlib=\"/tmp/buildout.test/myfoo\" --prefix=/tmp/buildout.test\n running install\n running bdist_egg\n running egg_info...\n Copying foo-1.0-py2.6.egg to /tmp/buildout.test/myfoo...\n Installed /tmp/buildout.test/myfoo/foo-1.0-py...egg...\n \n\n.. vim:set ft=doctest :\n\n=======================\nCHANGELOG\n=======================\n\n\n1.60 (2012-08-21)\n-----------------\n\n- fix prefix\n\n\n1.59 (2012-08-21)\n-----------------\n\n- doc\n\n\n1.58 (2012-08-21)\n-----------------\n\n- fix installation problems with multiple parts\n\n1.35\n---------\n\nSpllited 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.du", "keywords": "development buildout recipe", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "minitage.recipe.du", "package_url": "https://pypi.org/project/minitage.recipe.du/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/minitage.recipe.du/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://cheeseshop.python.org/pypi/minitage.recipe.du" }, "release_url": "https://pypi.org/project/minitage.recipe.du/1.60/", "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.60" }, "last_serial": 794816, "releases": { "1.35": [ { "comment_text": "", "digests": { "md5": "cc276c9e8d57cda9b1d795bc2b788d17", "sha256": "58f3b27e589a99b39deba6798e64aa67d369d2f99d27dd1c33c20e1174e71d10" }, "downloads": -1, "filename": "minitage.recipe.du-1.35.zip", "has_sig": false, "md5_digest": "cc276c9e8d57cda9b1d795bc2b788d17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14698, "upload_time": "2009-08-19T22:31:45", "url": "https://files.pythonhosted.org/packages/9a/a2/162704fea159306301f9765e4c6ba546f6d11edf3f27bdb36134f3539a8c/minitage.recipe.du-1.35.zip" } ], "1.57": [ { "comment_text": "", "digests": { "md5": "23ecfdcf6b0fa23c8cba07b0ab02a4ed", "sha256": "6e5152ee5d21e95061285bacf2494d8ca06c01fc48fc6ce432c9e90609256d54" }, "downloads": -1, "filename": "minitage.recipe.du-1.57.zip", "has_sig": false, "md5_digest": "23ecfdcf6b0fa23c8cba07b0ab02a4ed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18945, "upload_time": "2009-11-20T09:23:35", "url": "https://files.pythonhosted.org/packages/1a/74/cb884fcb524f9998569c3f5cf13f6d9bf89f4d62f2aedb4979cfb0d41f03/minitage.recipe.du-1.57.zip" } ], "1.58": [ { "comment_text": "", "digests": { "md5": "81b404303c55eeb47dfa3de564df07a5", "sha256": "7a8823b096554dc48c796048c2c473a7da5e5616c7f803e63f27c184c1d1ffa1" }, "downloads": -1, "filename": "minitage.recipe.du-1.58.zip", "has_sig": false, "md5_digest": "81b404303c55eeb47dfa3de564df07a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19596, "upload_time": "2012-08-21T15:40:03", "url": "https://files.pythonhosted.org/packages/b7/19/1e4adb4b7c99d19e3dbb5f1a1937c49dddc37a6275f80d5ef95026c80f02/minitage.recipe.du-1.58.zip" } ], "1.59": [ { "comment_text": "", "digests": { "md5": "7cced3cecb09a8d916659368b7ed50aa", "sha256": "4ec3a35d626a80f9bf0a547f6f502e5f7c3f50cb93c661e91a3be8df7a0e37b9" }, "downloads": -1, "filename": "minitage.recipe.du-1.59.zip", "has_sig": false, "md5_digest": "7cced3cecb09a8d916659368b7ed50aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19581, "upload_time": "2012-08-21T15:42:28", "url": "https://files.pythonhosted.org/packages/a9/8c/c0a42ff83b44f8067145c8d07f58c64e3cff3c00e2e428ff83fb8f2def67/minitage.recipe.du-1.59.zip" } ], "1.60": [ { "comment_text": "", "digests": { "md5": "69127d4f3fe33a835ab6ffcb59c574d9", "sha256": "e2012a7b0e7a95f5c044aed6b5e92fd1358b6489c9eaa3b48f3712fb08077077" }, "downloads": -1, "filename": "minitage.recipe.du-1.60.zip", "has_sig": false, "md5_digest": "69127d4f3fe33a835ab6ffcb59c574d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19609, "upload_time": "2012-08-21T17:36:41", "url": "https://files.pythonhosted.org/packages/ee/8c/1254e1642fc34ba10bd3a83a556f20e9bbf3f5d78262499a7722452b9e3e/minitage.recipe.du-1.60.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "69127d4f3fe33a835ab6ffcb59c574d9", "sha256": "e2012a7b0e7a95f5c044aed6b5e92fd1358b6489c9eaa3b48f3712fb08077077" }, "downloads": -1, "filename": "minitage.recipe.du-1.60.zip", "has_sig": false, "md5_digest": "69127d4f3fe33a835ab6ffcb59c574d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19609, "upload_time": "2012-08-21T17:36:41", "url": "https://files.pythonhosted.org/packages/ee/8c/1254e1642fc34ba10bd3a83a556f20e9bbf3f5d78262499a7722452b9e3e/minitage.recipe.du-1.60.zip" } ] }