{ "info": { "author": "Takayuki SHIMIZUKAWA", "author_email": "shimizukawa at gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Python Software Foundation License", "Programming Language :: Python", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "`buildout.locallib` use egg-packages installed on site-packages folder.\n\n`zc.buildout `_ check\npackage installation by zc.buildout.easy_install.Installer that\nexclude /path/to/site-packages folder path for checking.\n\nWhen 'site-packages' folder include some easy-installed packages,\nWe want to re-use these packages in some cases.\n\nFeatures\n--------\n\n* Extends zc.buildout functionality to search installed packages.\n* create dummy '*.egg-info' / '*.egg-link' for specified packages.\n\n\nUsing sample: using buildout.locallib extension\n-------------------------------------------------\n\nsite-packages include some eggs::\n\n $ ls /path/to/site-packages\n easy-install.pth\n pip-0.6.3-py2.6.egg/\n pastedeploy-1.3.3-py2.6.egg/\n pastescript-1.7.3-py2.6.egg/\n paste-1.7.4-py2.6.egg/\n setuptools-0.6c11-py2.6.egg\n setuptools.pth\n\n\nwrite buildout.cfg::\n\n [buildout]\n parts = foo\n\n [foo]\n recipe = zc.recipe.egg\n eggs =\n PasteScript\n\n\nrun bootstrap and buildout::\n\n $ python bootstrap.py\n $ bin/buildout -U\n ...\n\nlist eggs dir::\n\n $ ls eggs\n zc.recipe.egg-1.2.3b2-py2.6.egg\n pastescript-1.7.3-py2.6.egg\n pastedeploy-1.3.3-py2.6.egg\n paste-1.7.4-py2.6.egg\n\n(clean-up)::\n\n $ rm -R eggs\n\nNow update buildout.cfg to use ``buildout.locallib`` extension::\n\n [buildout]\n parts = foo\n extensions = buildout.locallib\n ...\n\nAnd run buildout again::\n\n $ bin/buildout -U\n ...\n\nCheck your eggs folder again::\n\n $ ls eggs\n buildout.locallib-0.0.1-py2.6.egg\n zc.recipe.egg-1.2.3b2-py2.6.egg\n\nIf package exists at site-packages folder, now using installed version\npackages.\n\n\nUsing sample: specified dummy package information\n--------------------------------------------------\n\nsite-packages include some libraries, but they are not installed by easy_insttall::\n\n $ ls /path/to/site-packages\n ...\n feedparser.py\n ...\n\nwrite buildout.cfg with ``locallibs`` key and section::\n\n [buildout]\n parts = foo\n newest = false #if you won't want to check newest version (network-access)\n extensions = buildout.locallib\n locallibs = locallibs\n\n [foo]\n recipe = zc.recipe.egg\n eggs =\n feedparser\n\n [locallibs]\n feedparser = feedparser==4.1\n\n``locallibs`` section require ``(dummy name) = (pkg name)==(version)`` style\nkey-value pairs. Then, buildout.locallib create dummy ``feedparser-4.1.egg-info``\ninto the develop-eggs directory. In this way, setuptools recognizes that a\n'feedparser' is installed and doesn't perform downloading.\n\nIf target package have .egg-info file/directory, you don't need to write\na `version` like below::\n\n [locallibs]\n PIL = PIL\n\nBut, if you omit a version for no-egg-info package, buildout.locallib can't\nrecognize package version, then it'll cause DistributionNotFound exception.\nIf you want to avoid this exception, you should set `locallibs_check = false`\nin buildout section.\n\nOptions\n--------\nlocallibs\n A dictionary mapping package names to skip installing distribution\n that was installed on python's site-packages directory already.\n This can be used to specify a set of distribution versions independent\n of other requirements.\n\nlocallibs_check\n default is 'true'. buildout.locallib check distribution existing on\n site-packages and raise exception if distribute was not found.\n If set 'false', skip check.\n\n\nRequirements\n------------\n\n* Python 2.4 or later\n\n\nDependencies\n------------\n\n* `setuptools `_ or\n `distribute `_\n\n* `zc.buildout `_\n\n\nSetup\n-----\n\nWrite buildout.cfg with `extensions = buildout.locallib`::\n\n [buildout]\n parts = foo\n extensions = buildout.locallib\n ...\n\n\nToDo\n-----\n* Write tests.\n* cleanup develop-eggs folder.\n\n\nHistory\n-------\n\n0.3.1 (2013-8-18)\n~~~~~~~~~~~~~~~~~~\n* Fix: create develop-eggs directory if missing.\n\n0.3.0 (2011-3-31)\n~~~~~~~~~~~~~~~~~~\n* Add: locallibs_check option is now available.\n\n0.2.0 (2010-7-12)\n~~~~~~~~~~~~~~~~~~\n* Add: create dummy '*.egg-info' / '*.egg-link' for specified packages.\n\n0.1.0 (2010-6-27)\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://bitbucket.org/shimizukawa/buildout.locallib/", "keywords": "zc.buildout", "license": "PSL", "maintainer": null, "maintainer_email": null, "name": "buildout.locallib", "package_url": "https://pypi.org/project/buildout.locallib/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/buildout.locallib/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://bitbucket.org/shimizukawa/buildout.locallib/" }, "release_url": "https://pypi.org/project/buildout.locallib/0.3.1/", "requires_dist": null, "requires_python": null, "summary": "buildout.locallib use egg-packages installed on site-packages folder.", "version": "0.3.1" }, "last_serial": 842643, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6e059498aaf31657fb381e6d4c144826", "sha256": "7dfcfda4f61a893346df56911eda53f012372b6cfc81c0066b7a9d40138913d0" }, "downloads": -1, "filename": "buildout.locallib-0.1.0-py2.4.egg", "has_sig": false, "md5_digest": "6e059498aaf31657fb381e6d4c144826", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 4011, "upload_time": "2010-06-26T18:37:47", "url": "https://files.pythonhosted.org/packages/69/8d/bf6500d1f8a53a4825ba113658b7957c1046ea51404ea68a73f686c39e7a/buildout.locallib-0.1.0-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "3ae2f1af41ddfbdda9d6bf747494b20c", "sha256": "0e00a8f9797d0405ab95e3657ecef82cdcec652b8ff3ad99102e77b1b8b856e2" }, "downloads": -1, "filename": "buildout.locallib-0.1.0-py2.5.egg", "has_sig": false, "md5_digest": "3ae2f1af41ddfbdda9d6bf747494b20c", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 4004, "upload_time": "2010-06-26T18:38:13", "url": "https://files.pythonhosted.org/packages/57/7d/1139dc5369c02645b3a89c006a2068c11584146d7f6cdc298ead902081df/buildout.locallib-0.1.0-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "e66442f870ba49675df55b3b847ef967", "sha256": "9ab2dbf2cc024e25bf32c0f2450447bfc359f06d2a81b9f6f08a1f6e37377d62" }, "downloads": -1, "filename": "buildout.locallib-0.1.0-py2.6.egg", "has_sig": false, "md5_digest": "e66442f870ba49675df55b3b847ef967", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 4004, "upload_time": "2010-06-26T18:38:22", "url": "https://files.pythonhosted.org/packages/59/64/f07e95ee81fd0531b006a2c8f8b8f14089df90ff52f4a6e51fd420cab3dd/buildout.locallib-0.1.0-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "f4bdff0fd4091d9f0ae15a332c9e1ac7", "sha256": "0d4837a7d5dd7c96ccc7de2dcf0f45057bd7cbe26a81c97ea13feedb71ce8e45" }, "downloads": -1, "filename": "buildout.locallib-0.1.0.zip", "has_sig": false, "md5_digest": "f4bdff0fd4091d9f0ae15a332c9e1ac7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7004, "upload_time": "2010-06-26T18:34:02", "url": "https://files.pythonhosted.org/packages/d1/b4/e92846d73c2443cfce67c8e6bdcb168997995ce02517b9c08346ff3e3514/buildout.locallib-0.1.0.zip" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "e4a95b3b281d5fcaa7a4b32ac2905777", "sha256": "1bf792f256dd4f9fe1651eafe20f9a96fc9b50e4a8db89ea2d436aea410f66d0" }, "downloads": -1, "filename": "buildout.locallib-0.2.0.zip", "has_sig": false, "md5_digest": "e4a95b3b281d5fcaa7a4b32ac2905777", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9552, "upload_time": "2010-07-12T10:49:59", "url": "https://files.pythonhosted.org/packages/2e/00/493ecc836f348b8d4fbd9a2c1a098266be25734fe1aa80f1ac3d45cedc0c/buildout.locallib-0.2.0.zip" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "c6026ea998a8c58f4e0699437b2ed40b", "sha256": "d5d89d2fb82e8f86409a93e3a8c4d7eca4a322f4a8ba0714c54fcf01c621d5e2" }, "downloads": -1, "filename": "buildout.locallib-0.3.0.tar.gz", "has_sig": false, "md5_digest": "c6026ea998a8c58f4e0699437b2ed40b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4867, "upload_time": "2011-03-31T10:21:39", "url": "https://files.pythonhosted.org/packages/76/20/346123fb481ffe95edfa8f1f16c8d076840228e10b284807eafcb3193e28/buildout.locallib-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "af87673d00fee80eb69bb93b75696be4", "sha256": "7c4689781d364a16440ccc0d727d45ed8241d9e7916556b0105d21b3f79a985a" }, "downloads": -1, "filename": "buildout.locallib-0.3.1.tar.gz", "has_sig": false, "md5_digest": "af87673d00fee80eb69bb93b75696be4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4923, "upload_time": "2013-08-18T14:02:33", "url": "https://files.pythonhosted.org/packages/72/12/680b18607c09d5309841003e58f83557bdd6c938d2c0cd2562f304d3c2ce/buildout.locallib-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "af87673d00fee80eb69bb93b75696be4", "sha256": "7c4689781d364a16440ccc0d727d45ed8241d9e7916556b0105d21b3f79a985a" }, "downloads": -1, "filename": "buildout.locallib-0.3.1.tar.gz", "has_sig": false, "md5_digest": "af87673d00fee80eb69bb93b75696be4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4923, "upload_time": "2013-08-18T14:02:33", "url": "https://files.pythonhosted.org/packages/72/12/680b18607c09d5309841003e58f83557bdd6c938d2c0cd2562f304d3c2ce/buildout.locallib-0.3.1.tar.gz" } ] }