aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authortassaron2022-05-03 08:33:12 -0400
committertassaron2022-05-03 08:33:12 -0400
commit7513d1c13b337c1679f44030da553a79c55b91af (patch)
tree62820603510072266debf7d44a3e76c2e90182ec /setup.py
parent62ca90f0c9a47d4969feadfb22005d86783bd235 (diff)
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.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py4
1 files changed, 2 insertions, 2 deletions
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'
],
}
)