diff options
| author | Michael Merickel <github@m.merickel.org> | 2019-01-05 20:03:30 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-05 20:03:30 -0600 |
| commit | 4f626f7ebfd8703ed854973a5db6273c01064955 (patch) | |
| tree | fcab2fa703e18c66ce2eb6cdade885d109cd76cd /setup.py | |
| parent | 378be388f80d6c6cef6cf5c5f567eb9f7fe34557 (diff) | |
| parent | aabe451dae69bf2abb5f5f0b0638c8d96d052836 (diff) | |
| download | pyramid-4f626f7ebfd8703ed854973a5db6273c01064955.tar.gz pyramid-4f626f7ebfd8703ed854973a5db6273c01064955.tar.bz2 pyramid-4f626f7ebfd8703ed854973a5db6273c01064955.zip | |
Merge pull request #3449 from mmerickel/reformat-setup.py
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', + ], + }, ) |
