Install a script to start pgAdmin (pgadmin4) from the command line when installed from the Python wheel. Fixes #1825

This commit is contained in:
Dave Page
2019-02-12 14:04:45 +00:00
parent 7f3e5c95c6
commit e0e7d6f1f6
2 changed files with 9 additions and 2 deletions

View File

@@ -96,6 +96,8 @@ setup(
##data_files=,
# 'scripts' keyword is used to provide executable scripts. It provides cross-platform support.
##entry_points=,
entry_points={
'console_scripts': ['pgadmin4=pgadmin4.pgAdmin4.__init__:main'],
},
)