[Distutils] setuptools: Inconsistent quoting

Ian Bicking ianb at colorstudy.com
Thu Sep 22 17:19:39 CEST 2005


I have a setup file, that looks roughly like:

setup(...
     extras_require={
       'WSGI-Utils': ['WSGI-Utils'],
       },
     entry_points="""
     [paste.server_runner]
     wsgiutils=paste.script.wsgiutils_server:run_server [WSGI-Utils]
     """)

When I try to use the wsgiutils entry point I get:
pkg_resources.UnknownExtra: PasteScript 0.1dev-r3227 has no such extra 
feature 'wsgi_utils'

If I rename it to WSGIUtils is all works.  So apparently quoting is 
being applied differently depending on context.

You can get the full setup.py script with:

svn cat -r 3231 http://svn.pythonpaste.org/Paste/Script/trunk/setup.py

-- 
Ian Bicking  /  ianb at colorstudy.com  /  http://blog.ianbicking.org


More information about the Distutils-SIG mailing list