update-python-libraries: make script updateScript friendly

This commit is contained in:
Jonathan Ringer 2020-10-11 12:00:33 -07:00
parent 69519cfc27
commit 2a9c3ec083
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -33,7 +33,7 @@ PRERELEASES = False
GIT = "git"
NIXPGKS_ROOT = str(pathlib.Path(__file__).absolute().parents[5])
NIXPGKS_ROOT = subprocess.check_output(["git", "rev-parse", "--show-toplevel"]).decode('utf-8').strip()
import logging
logging.basicConfig(level=logging.INFO)