[Distutils] Extension: Entry-Point
Daniel Holth
dholth at gmail.com
Thu Sep 13 07:50:45 CEST 2012
I propose mapping a typical entry_points.txt to Metadata 1.3 like so:
[pyramid.scaffold]
starter=pyramid.scaffolds:StarterProjectTemplate
zodb=pyramid.scaffolds:ZODBProjectTemplate
alchemy=pyramid.scaffolds:AlchemyProjectTemplate
[console_scripts]
bfg2pyramid = pyramid.fixers.fix_bfg_imports:main
pcreate = pyramid.scripts.pcreate:main
pserve = pyramid.scripts.pserve:main
pshell = pyramid.scripts.pshell:main
proutes = pyramid.scripts.proutes:main
pviews = pyramid.scripts.pviews:main
ptweens = pyramid.scripts.ptweens:main
prequest = pyramid.scripts.prequest:main
[paste.server_runner]
wsgiref = pyramid.scripts.pserve:wsgiref_server_runner
cherrypy = pyramid.scripts.pserve:cherrypy_server_runner
Extension: Entry-Point
Entry-Point/pyramid.scaffold: starter=pyramid.scaffolds:StarterProjectTemplate
Entry-Point/paste.server_runner: wsgiref =
pyramid.scripts.pserve:wsgiref_server_runner
More information about the Distutils-SIG
mailing list