| License: | MIT |
|---|---|
| Name: | rsb.recipe.setupdevelop |
| Version: | 0.1dev |
| Author: | Robin Bryce |
| Author-email: | robinbryce@gmail.com |
| Description: | Run zc.buildout.easy_install:develop on an arbitrary collection of sources. |
| Copyright: | Copyright (c) 2007 Robin Bryce, All rights reserved |
| Classifiers: | License :: OSI Approved :: MIT License |
| Classifiers: | Development Status :: 3 - Alpha |
| Classifiers: | Programming Language :: Python |
| Classifiers: | Intended Audience :: Developers |
| Classifiers: | Natural Language :: English |
Abstract
This recipe lets you run zc.buildout.easy_install:develop on an arbitrary collection of sources. You will a develop link for each referenced source, along with all the other great features offered by zc.recipe.egg.Scripts. It can also help with the boot strapping problem that can be encountered when trying to re-use common part configurations from different buildout's.
This recipe lets you run zc.buildout.easy_install:develop on an arbitrary collection of sources. You will a develop link for each referenced source, along with all the other great features offered by zc.recipe.egg.Scripts. It can also help with the boot strapping problem that can be encountered when trying to re-use common part configurations from different buildout's.
zc.buildout provides a convenient wrapper around the setuptools develop command. This wrapper can be used in a zc.buildout by referencing a source directory in the develop attribute of the [buildout] section in your buildout.cfg file. All sources referenced by this attribute are installed before any parts are processed. If you want to apply the develop command to the content installed by one or more of the parts in your buildout then this recipe could be what you are after.
If you need the egg produced by your sources during zc.buildout's develop step (Ie, before parts are installed), then this recipe may still be useful.
If you seed your buildout using the find-links #egg trick, you will get a built egg in your buildout based on the referenced url. The egg installed using this trick does not track the repository revision. Hoever, for things that come early in a buildout, this is not necessarily a bad thing. If you also pull in the sources for that egg, using some other means, (ie something like rsb.sourcesvn), then you can use this recipe to give precedence to the source (.egg-linked) version for parts that appear later in the dependency graph. If you want both a released egg and a linked egg available to different parts be aware that you may need to separate your eggs and your develop-eggs into different directories (zc.buildout defaults to this arrangement)
zc.buildout gives you complete control over which of your default parts are installed into your buildout so it is relatively straight forward to set things up for development against a mix of realeased egg distributions and source checkouts, once you have a means to explicitly cast setup develop on your sources.
This package is a zc.buildout recipe. It is not installed, rather it is referenced from a buildout.cfg file.
Copyright (c) 2007 Robin Bryce All rights reserved
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.