From: toddrme2178@gmail.com Date: 2017-09-20 Subject: Use rpm paths Use single-line paths. These must be replaced with the appropriate system paths in the .spec file. --- Index: jupyter_core-4.11.1/jupyter_core/paths.py =================================================================== --- jupyter_core-4.11.1.orig/jupyter_core/paths.py +++ jupyter_core-4.11.1/jupyter_core/paths.py @@ -130,10 +130,7 @@ if os.name == "nt": else: # PROGRAMDATA is not defined by default on XP. SYSTEM_JUPYTER_PATH = [os.path.join(sys.prefix, "share", "jupyter")] else: - SYSTEM_JUPYTER_PATH = [ - "/usr/local/share/jupyter", - "/usr/share/jupyter", - ] + SYSTEM_JUPYTER_PATH = ["_datadir_jupyter_"] ENV_JUPYTER_PATH = [os.path.join(sys.prefix, "share", "jupyter")] @@ -207,10 +204,7 @@ if os.name == "nt": else: # PROGRAMDATA is not defined by default on XP. SYSTEM_CONFIG_PATH = [] else: - SYSTEM_CONFIG_PATH = [ - "/usr/local/etc/jupyter", - "/etc/jupyter", - ] + SYSTEM_CONFIG_PATH = ["_sysconfdir_jupyter_"] ENV_CONFIG_PATH = [os.path.join(sys.prefix, "etc", "jupyter")]