[Checkins] SVN: hurry.jqueryui/trunk/ Try to make the auto-preparation
Martijn Faassen
faassen at startifact.com
Mon Jul 12 10:50:18 EDT 2010
Log message for revision 114638:
Try to make the auto-preparation
work when zest.releaser is part of the buildout.
Changed:
U hurry.jqueryui/trunk/buildout.cfg
U hurry.jqueryui/trunk/setup.py
U hurry.jqueryui/trunk/src/hurry/jqueryui/prepare.py
-=-
Modified: hurry.jqueryui/trunk/buildout.cfg
===================================================================
--- hurry.jqueryui/trunk/buildout.cfg 2010-07-12 14:47:41 UTC (rev 114637)
+++ hurry.jqueryui/trunk/buildout.cfg 2010-07-12 14:50:17 UTC (rev 114638)
@@ -5,10 +5,13 @@
[versions]
py = 1.0
+zest.releaser = 3.11
[scripts]
recipe = zc.recipe.egg
-eggs = hurry.jqueryui [prepare]
+eggs =
+ hurry.jqueryui [prepare]
+ zest.releaser
[test]
recipe = zc.recipe.testrunner
Modified: hurry.jqueryui/trunk/setup.py
===================================================================
--- hurry.jqueryui/trunk/setup.py 2010-07-12 14:47:41 UTC (rev 114637)
+++ hurry.jqueryui/trunk/setup.py 2010-07-12 14:50:17 UTC (rev 114638)
@@ -41,7 +41,7 @@
],
entry_points= {
'console_scripts': [
- 'jqueryuiprepare = hurry.jqueryui.prepare:prepare_jqueryui',
+ 'jqueryuiprepare = hurry.jqueryui.prepare:main',
],
'zest.releaser.prereleaser.middle': [
'prepare = hurry.jqueryui.prepare:prepare_jqueryui',
Modified: hurry.jqueryui/trunk/src/hurry/jqueryui/prepare.py
===================================================================
--- hurry.jqueryui/trunk/src/hurry/jqueryui/prepare.py 2010-07-12 14:47:41 UTC (rev 114637)
+++ hurry.jqueryui/trunk/src/hurry/jqueryui/prepare.py 2010-07-12 14:50:17 UTC (rev 114638)
@@ -14,7 +14,7 @@
FULL = "jquery-ui.js"
THEME_URL = 'http://jquery-ui.googlecode.com/files/jquery-ui-themes-%s.zip' % VERSION
-def prepare_jqueryui():
+def prepare_jqueryui(data):
package_dir = py.path.local(os.path.dirname(__file__))
jquery_dest_path = package_dir.join('jqueryui-build')
@@ -87,3 +87,6 @@
module.write(code)
module.close()
+def main():
+ prepare_jqueryui(None)
+
More information about the checkins
mailing list