[Checkins] SVN: grokproject/trunk/setup.py Specifying entry points in a nicer way

Reinout van Rees reinout at vanrees.org
Fri May 2 06:42:06 EDT 2008


Log message for revision 86081:
  Specifying entry points in a nicer way
  

Changed:
  U   grokproject/trunk/setup.py

-=-
Modified: grokproject/trunk/setup.py
===================================================================
--- grokproject/trunk/setup.py	2008-05-02 10:37:34 UTC (rev 86080)
+++ grokproject/trunk/setup.py	2008-05-02 10:42:06 UTC (rev 86081)
@@ -19,10 +19,7 @@
     include_package_data=True,
     zip_safe=False,
     install_requires=['PasteScript>=1.3',],
-    entry_points="""
-    [console_scripts]
-    grokproject = grokproject:main
-    [paste.paster_create_template]
-    grok = grokproject:GrokProject
-    """,
-)
+    entry_points={
+    'console_scripts': ['grokproject = grokproject:main'],
+    'paste.paster_create_template': ['grok = grokproject:GrokProject']},
+    )



More information about the Checkins mailing list