diff options
| author | tassaron | 2022-05-03 08:33:12 -0400 |
|---|---|---|
| committer | tassaron | 2022-05-03 08:33:12 -0400 |
| commit | 7513d1c13b337c1679f44030da553a79c55b91af (patch) | |
| tree | 62820603510072266debf7d44a3e76c2e90182ec /setup.py | |
| parent | 62ca90f0c9a47d4969feadfb22005d86783bd235 (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.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -55,8 +55,8 @@ setup( 'pytest' ], entry_points={ - 'gui_scripts': [ - f'avp = {PACKAGE_NAME}.main:main' + 'console_scripts': [ + f'avp = {PACKAGE_NAME}.__main__:main' ], } ) |
