Ticket #53780: patch-jupyter_core-paths.py.diff

File patch-jupyter_core-paths.py.diff, 696 bytes (added by Schamschula (Marius Schamschula), 8 years ago)
  • jupyter_core/paths.py

    old new  
    118118        SYSTEM_JUPYTER_PATH = [os.path.join(sys.prefix, 'share', 'jupyter')]
    119119else:
    120120    SYSTEM_JUPYTER_PATH = [
    121         "/usr/local/share/jupyter",
    122         "/usr/share/jupyter",
     121        "%PREFIX%/share/jupyter",
    123122    ]
    124123
    125124ENV_JUPYTER_PATH = [os.path.join(sys.prefix, 'share', 'jupyter')]
     
    170169        SYSTEM_CONFIG_PATH = []
    171170else:
    172171    SYSTEM_CONFIG_PATH = [
    173         "/usr/local/etc/jupyter",
    174         "/etc/jupyter",
     172        "%PREFIX%/etc/jupyter",
    175173    ]
    176174
    177175ENV_CONFIG_PATH = [os.path.join(sys.prefix, 'etc', 'jupyter')]