From: Debian Science Team Date: Sun, 10 Nov 2019 16:35:41 +0000 (+0000) Subject: deb_doc_donotoverride_PYTHONPATH X-Git-Tag: archive/raspbian/0.25.3+dfsg2-2+rpi1~1^2^2^2~23 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5296a68d43a8f3502984e9e07678506a98e0c1d8;p=pandas.git deb_doc_donotoverride_PYTHONPATH Gbp-Pq: Name deb_doc_donotoverride_PYTHONPATH --- diff --git a/doc/make.py b/doc/make.py index 48febef2..7dbc5efc 100755 --- a/doc/make.py +++ b/doc/make.py @@ -350,8 +350,9 @@ def main(): # external libraries (namely Sphinx) to compile this module and resolve # the import of `python_path` correctly. The latter is used to resolve # the import within the module, injecting it into the global namespace - os.environ["PYTHONPATH"] = args.python_path - sys.path.insert(0, args.python_path) + # Debian: we set it outside + #os.environ["PYTHONPATH"] = args.python_path + #sys.path.insert(0, args.python_path) globals()["pandas"] = importlib.import_module("pandas") # Set the matplotlib backend to the non-interactive Agg backend for all