[Checkins] SVN: hurry.jquery/trunk/ The required version argument to the pepare script isn't used, so I removed it

Reinout van Rees reinout at vanrees.org
Fri Nov 27 08:56:27 EST 2009


Log message for revision 106063:
  The required version argument to the pepare script isn't used, so I removed it
  and adjusted the documentation.

Changed:
  U   hurry.jquery/trunk/README.txt
  U   hurry.jquery/trunk/src/hurry/jquery/prepare.py

-=-
Modified: hurry.jquery/trunk/README.txt
===================================================================
--- hurry.jquery/trunk/README.txt	2009-11-27 13:20:19 UTC (rev 106062)
+++ hurry.jquery/trunk/README.txt	2009-11-27 13:56:26 UTC (rev 106063)
@@ -42,9 +42,8 @@
 
 When releasing ``hurry.jquery``, an extra step should be taken. Follow the
 regular package `release instructions`_, but before egg generation (``python
-setup.py register sdist upload``) first execute ``bin/jqueryprepare <version
-number>``, where version number is the version of the jQuery release, such as
-``1.3.2``. This will download the jQuery library of that version and place it
-in the egg.
+setup.py register sdist upload``) first execute ``bin/jqueryprepare``. This
+will download the jQuery library and place it in the egg.  (The version number
+is currently hardcoded in the hurry.jquery.prepare module).
 
 .. _`release instructions`: http://grok.zope.org/documentation/how-to/releasing-software

Modified: hurry.jquery/trunk/src/hurry/jquery/prepare.py
===================================================================
--- hurry.jquery/trunk/src/hurry/jquery/prepare.py	2009-11-27 13:20:19 UTC (rev 106062)
+++ hurry.jquery/trunk/src/hurry/jquery/prepare.py	2009-11-27 13:56:26 UTC (rev 106063)
@@ -10,12 +10,6 @@
 FULL = "jquery-1.3.2.js"
 
 def main():
-    try:
-        version = sys.argv[1]
-    except IndexError:
-        print "Usage: jqueryprepare <jQuery version>"
-        return
-
     package_dir = os.path.dirname(__file__)
     jquery_dest_path = os.path.join(package_dir, 'jquery-build')
 



More information about the checkins mailing list