From 7513d1c13b337c1679f44030da553a79c55b91af Mon Sep 17 00:00:00 2001 From: tassaron Date: Tue, 3 May 2022 08:33:12 -0400 Subject: Suggest pipx for installation. Fix `avp` command. Allegedly the gui_scripts is only different from console_scripts on Windows, and it has the effect of hiding the console window. This seemed to make the `avp` entrypoint crash, possibly because the app already contains its own logic for hiding the console window(?). I've tested this on Windows 11 and it seems to work better using console_scripts. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 3709e7b..0ed943c 100644 --- a/setup.py +++ b/setup.py @@ -55,8 +55,8 @@ setup( 'pytest' ], entry_points={ - 'gui_scripts': [ - f'avp = {PACKAGE_NAME}.main:main' + 'console_scripts': [ + f'avp = {PACKAGE_NAME}.__main__:main' ], } ) -- cgit v1.2.3