diff options
| author | Michael Merickel <michael@merickel.org> | 2019-01-05 13:46:09 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2019-01-05 13:46:09 -0600 |
| commit | aabe451dae69bf2abb5f5f0b0638c8d96d052836 (patch) | |
| tree | 5496e60e6885383dfe5fe9a68a04f5a18ad0e249 /setup.py | |
| parent | c02f228b554d636d475ad1f34945fd91e4b1bfdf (diff) | |
| download | pyramid-aabe451dae69bf2abb5f5f0b0638c8d96d052836.tar.gz pyramid-aabe451dae69bf2abb5f5f0b0638c8d96d052836.tar.bz2 pyramid-aabe451dae69bf2abb5f5f0b0638c8d96d052836.zip | |
use the dict form of entry_points in setup.py
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 33 |
1 files changed, 18 insertions, 15 deletions
@@ -100,19 +100,22 @@ setup( extras_require={'testing': testing_extras, 'docs': docs_extras}, tests_require=tests_require, test_suite="tests", - entry_points="""\ - [pyramid.pshell_runner] - python=pyramid.scripts.pshell:python_shell_runner - [console_scripts] - 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 - pdistreport = pyramid.scripts.pdistreport:main - [paste.server_runner] - wsgiref = pyramid.scripts.pserve:wsgiref_server_runner - cherrypy = pyramid.scripts.pserve:cherrypy_server_runner - """, + entry_points={ + 'paste.server_runner': [ + 'wsgiref = pyramid.scripts.pserve:wsgiref_server_runner', + 'cherrypy = pyramid.scripts.pserve:cherrypy_server_runner', + ], + 'pyramid.pshell_runner': [ + 'python = pyramid.scripts.pshell:python_shell_runner' + ], + 'console_scripts': [ + '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', + 'pdistreport = pyramid.scripts.pdistreport:main', + ], + }, ) |
