Blob Blame History Raw
From b515f4289c5c65b8c2f1dfd8039a7a326db2580f Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Sat, 16 Mar 2019 02:59:15 -0400
Subject: [PATCH 3/5] DOC: Don't print out conda/pip environment.

Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
 doc/conf.py | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/doc/conf.py b/doc/conf.py
index 7e7c63ca..31a45020 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -15,7 +15,6 @@
 import datetime
 import inspect
 import os
-import subprocess
 import sys
 from contextlib import suppress
 
@@ -28,13 +27,6 @@ allowed_failures = set()
 print("python exec:", sys.executable)
 print("sys.path:", sys.path)
 
-if "conda" in sys.executable:
-    print("conda environment:")
-    subprocess.run(["conda", "list"])
-else:
-    print("pip environment:")
-    subprocess.run([sys.executable, "-m", "pip", "list"])
-
 print(f"xarray: {xarray.__version__}, {xarray.__file__}")
 
 with suppress(ImportError):
-- 
2.31.1