Remove nd4j env variable logic
@@ -10,7 +10,6 @@ from typing import Dict, Any, Iterable, List, Collection
from _io import TextIOWrapper
PATH = os.path.abspath(os.path.dirname(__file__))
-ND4J_CLASSPATH_ENVIRONMENT_VARIABLE = "KEANU_ND4J_CLASSPATH"
# python singleton implementation https://stackoverflow.com/a/6798042/741789
@@ -41,9 +40,6 @@ class KeanuContext(metaclass=Singleton):
def __build_classpath(self) -> str:
keanu_path = os.path.join(PATH, "classpath", "*")
nd4j_path = nd4j.get_classpath()
- if nd4j_path is None:
- return keanu_path
- else:
return os.pathsep.join([keanu_path, os.path.join(nd4j_path, "*")])
def __stderr_with_redirect_disabled_for_jupyter(self) -> TextIOWrapper:
