Skip to content

Commit eef0ca9

Browse files
Debian Science Teamraspbian-autopush
Debian Science Team
authored andcommitted
Don't try to import from the source directory
Needed as we build the extension modules elsewhere Author: Yaroslav Halchenko Forwarded: not-needed Gbp-Pq: Name deb_doc_donotoverride_PYTHONPATH.patch
1 parent 5cc5625 commit eef0ca9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/make.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,9 @@ def main():
353353
# external libraries (namely Sphinx) to compile this module and resolve
354354
# the import of `python_path` correctly. The latter is used to resolve
355355
# the import within the module, injecting it into the global namespace
356-
os.environ["PYTHONPATH"] = args.python_path
357-
sys.path.insert(0, args.python_path)
356+
# Debian: we set it outside
357+
#os.environ["PYTHONPATH"] = args.python_path
358+
#sys.path.insert(0, args.python_path)
358359
globals()["pandas"] = importlib.import_module("pandas")
359360

360361
# Set the matplotlib backend to the non-interactive Agg backend for all

0 commit comments

Comments
 (0)