Merge pull request #100268 from jonringer/update-python-libraries-nixpkgs

update-python-libraries: make script updateScript friendly

Changed files
+1 -1
pkgs
development
interpreters
python
update-python-libraries
+1 -1
pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py
···
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)