GlobalPathogenAnalysisService / gpas-cli

The CLI client for GPAS SC2
Other
5 stars 2 forks source link

Problems with Nuitka, Pyinstaller and tqdm progress bars #34

Closed bede closed 2 years ago

bede commented 2 years ago

TQDM breaks static binary distribution. Have removed progress bars until I can find a workaround

I'm not the only one with this problem: https://stackoverflow.com/questions/72636873/app-package-built-by-pyinstaller-fails-after-it-uses-tqdm

bede commented 2 years ago

Solution is probably to just separate CLI and EC upload code so that the CLI can benefit from progress bars

bede commented 2 years ago

Compromise found – instantiation of tqdm only happens when --json-messages is disabled, meaning that the pyinstaller cli-upload executable works without progress bars and the main CLI can use them just fine.