[Checkins] SVN: hurry.jquery/trunk/ * newer version of zest.releaser should allow the correct entry point
Martijn Faassen
faassen at startifact.com
Wed Jul 28 10:32:26 EDT 2010
Log message for revision 115141:
* newer version of zest.releaser should allow the correct entry point
to include jquery before uploading
* compatibility with hurry.resource 0.10: an entry point
* compatibility with hurry.resource 0.10: library includes a path.
* ignore some ignorable stuff
Changed:
U hurry.jquery/trunk/CHANGES.txt
U hurry.jquery/trunk/setup.py
_U hurry.jquery/trunk/src/hurry/jquery/
U hurry.jquery/trunk/src/hurry/jquery/__init__.py
U hurry.jquery/trunk/src/hurry/jquery/prepare.py
-=-
Modified: hurry.jquery/trunk/CHANGES.txt
===================================================================
--- hurry.jquery/trunk/CHANGES.txt 2010-07-28 14:31:17 UTC (rev 115140)
+++ hurry.jquery/trunk/CHANGES.txt 2010-07-28 14:32:25 UTC (rev 115141)
@@ -1,11 +1,16 @@
CHANGES
*******
-1.4.2.2 (unreleased)
+1.4.2.2 (2010-07-28)
====================
-- Nothing changed yet.
+* Relying on new hurry.resource 0.10, which needs an entry point.
+* Export ``jquery_lib`` as the library. Before this change library was
+ not accessible as it was immediately overwritten by the ``jquery``
+ ResourceInclusion. This means that jquery resources will now be
+ published under ``jquery_lib`` in the URL instead of ``jquery``, but
+ since these URLs are automatically generated this should be okay.
1.4.2.1 (2010-03-14)
====================
Modified: hurry.jquery/trunk/setup.py
===================================================================
--- hurry.jquery/trunk/setup.py 2010-07-28 14:31:17 UTC (rev 115140)
+++ hurry.jquery/trunk/setup.py 2010-07-28 14:32:25 UTC (rev 115141)
@@ -2,7 +2,7 @@
import os
JQUERY_VERSION = '1.4.2'
-version = '1.4.2.2dev'
+version = '1.4.2.2'
# Name version after JQUERY_VERSION + .suffix
@@ -34,7 +34,7 @@
zip_safe=False,
install_requires=[
'setuptools',
- 'hurry.resource > 0.2',
+ 'hurry.resource >= 0.10',
],
entry_points={
'console_scripts': [
@@ -44,9 +44,12 @@
'prepare = hurry.jquery.prepare:entrypoint',
],
# ALSO grab jquery in the separate tag checkout...
- 'zest.releaser.releaser.middle': [
+ 'zest.releaser.releaser.after_checkout': [
'prepare = hurry.jquery.prepare:entrypoint',
],
+ 'hurry.resource.libraries': [
+ 'jquery = hurry.jquery:jquery_lib',
+ ],
},
extras_require={
'zopesupport': ['hurry.zoperesource'],
Property changes on: hurry.jquery/trunk/src/hurry/jquery
___________________________________________________________________
Added: svn:ignore
+ _lib.py
jquery-build
Modified: hurry.jquery/trunk/src/hurry/jquery/__init__.py
===================================================================
--- hurry.jquery/trunk/src/hurry/jquery/__init__.py 2010-07-28 14:31:17 UTC (rev 115140)
+++ hurry.jquery/trunk/src/hurry/jquery/__init__.py 2010-07-28 14:32:25 UTC (rev 115141)
@@ -1,6 +1,6 @@
#package
try:
- from hurry.jquery._lib import jquery
+ from hurry.jquery._lib import jquery, jquery_lib
except ImportError:
pass
Modified: hurry.jquery/trunk/src/hurry/jquery/prepare.py
===================================================================
--- hurry.jquery/trunk/src/hurry/jquery/prepare.py 2010-07-28 14:31:17 UTC (rev 115140)
+++ hurry.jquery/trunk/src/hurry/jquery/prepare.py 2010-07-28 14:32:25 UTC (rev 115141)
@@ -50,7 +50,7 @@
py_path = os.path.join(package_dir, '_lib.py')
print 'Generating inclusion module "%s"' % py_path
- library = Library('jquery')
+ library = Library('jquery_lib', 'jquery-build')
inclusion_map = {}
inclusion = inclusion_map['jquery'] = ResourceInclusion(library, FULL)
inclusion.modes['minified'] = ResourceInclusion(library, MINIFIED)
More information about the checkins
mailing list