-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use existing egg as project #8
Comments
(by jvloothuis) |
(by danfairs) You would be able to specify either a regular or a development egg. I suspect that in fact this option would cause the recipe to do less than it currently does, not more - I suspect it would just affect the content of the generated management script? |
(by jvloothuis) isegg = true or: project = egg:someegg or: projectegg = someegg Guessing it from the existing eggs would be a little to implicit for my liking. It would also mean that we cannot use the feature to fetch the project from an egg index. Since I like the idea of that feature it would be best if we had a way to indicate to the recipe it should use the egg and not some dir it generated. Do you like any of these suggestions or do you have some of your own? |
(by danfairs) I think I like projectegg best. isegg = true
project = egg:someegg
I guess specifying both projectegg and project together would raise an error? I also assume that the egg specified in projectegg would also have to have been included in the eggs or develop sections, and not doing so would also raise an error? So I'd be happy with projectegg. I'll try to work up a patch in the next couple of weeks, time permitting, unless you want to go ahead with it yourself? |
(by jvloothuis) |
(by danfairs) There are a couple of things to note here:
Let me know if you're happy with the approach, and I'll tidy up the loose ends above. |
(by jvloothuis) On Mon, Aug 11, 2008 at 11:34 PM, Dan Fairs wrote:
|
(by danfairs) |
(by danfairs) |
(by jvloothuis)
How did you create your branch? I seem to have some trouble to do a |
(by jvloothuis) project = someegg |
(by danfairs) With the current implementation, I can't think of a case where you'd want to create the project having specified a value for projectegg. If that's true, then we just need to not create the project when projectegg is specified. Can you think of a case where that would be wrong? With respect to the branch - I just created it using bzr branch lp:djangorecipe. I'm new to bazaar, so if I need to do the branch creation in different way to help you with the eventual merge, I'm more than happy to do so! |
(by jvloothuis) |
djangorecipe creates a project specified in the 'project' option in buildout.cfg. It would be very useful to be able to specify an existing egg as your django project. I may have time to implement this if you like the idea.
Imported from Launchpad using lp2gh.
The text was updated successfully, but these errors were encountered: