[Checkins] SVN: z3c.rml/trunk/ Now scripts are created.

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Jun 19 15:43:42 EDT 2007


Log message for revision 76809:
  Now scripts are created.
  

Changed:
  U   z3c.rml/trunk/buildout.cfg
  U   z3c.rml/trunk/setup.py

-=-
Modified: z3c.rml/trunk/buildout.cfg
===================================================================
--- z3c.rml/trunk/buildout.cfg	2007-06-19 19:34:27 UTC (rev 76808)
+++ z3c.rml/trunk/buildout.cfg	2007-06-19 19:43:42 UTC (rev 76809)
@@ -1,7 +1,11 @@
 [buildout]
-parts = test
+parts = test scripts
 develop = .
 
 [test]
 recipe = zc.recipe.testrunner
 eggs = z3c.rml [test]
+
+[scripts]
+recipe = zc.recipe.egg
+eggs = z3c.rml [pagetemplate]

Modified: z3c.rml/trunk/setup.py
===================================================================
--- z3c.rml/trunk/setup.py	2007-06-19 19:34:27 UTC (rev 76808)
+++ z3c.rml/trunk/setup.py	2007-06-19 19:43:42 UTC (rev 76809)
@@ -26,11 +26,11 @@
         'zope.interface',
         'zope.schema',
         ],
-    entry_points = """
-        [console_scripts]
-        dtd = z3c.rml.dtd:generate
-        reference = z3c.rml.reference:main
-        """,
+    entry_points = {
+        'console_scripts': [
+            'dtd = z3c.rml.dtd:generate',
+            'reference = z3c.rml.reference:main'],
+        },
     dependency_links = ['http://download.zope.org/distribution']
     )
 



More information about the Checkins mailing list