Files
patroni/mkbinary.sh
Alexander Kukushkin 0273eac15e Compatibility with pyinstaller (#2537)
it doesn't like relative imports and not recognise `http.server` imported with `six`.
The last one is explicitly added to the list of `hiddenimports()` and will break compatibility with python 2.7, which support will be dropped in the next Patroni release anyway.

Close https://github.com/zalando/patroni/issues/2535
2023-01-26 16:35:30 +01:00

6 lines
94 B
Bash
Executable File

#!/bin/sh
set -e
pip install --ignore-installed pyinstaller
pyinstaller --clean patroni.spec