summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2019-01-05 13:46:09 -0600
committerMichael Merickel <michael@merickel.org>2019-01-05 13:46:09 -0600
commitaabe451dae69bf2abb5f5f0b0638c8d96d052836 (patch)
tree5496e60e6885383dfe5fe9a68a04f5a18ad0e249 /setup.py
parentc02f228b554d636d475ad1f34945fd91e4b1bfdf (diff)
downloadpyramid-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.py33
1 files changed, 18 insertions, 15 deletions
diff --git a/setup.py b/setup.py
index 3176442e1..afddbda35 100644
--- a/setup.py
+++ b/setup.py
@@ -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',
+ ],
+ },
)