mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-07 01:54:09 +00:00
move static resources to share/jupyterhub
from share/jupyter/hub to be consistent with use of etc/jupyterhub etc.
This commit is contained in:
4
setup.py
4
setup.py
@@ -38,7 +38,7 @@ from setuptools.command.bdist_egg import bdist_egg
|
||||
pjoin = os.path.join
|
||||
|
||||
here = os.path.abspath(os.path.dirname(__file__))
|
||||
share_jupyter = pjoin(here, 'share', 'jupyter', 'hub')
|
||||
share_jupyterhub = pjoin(here, 'share', 'jupyterhub')
|
||||
static = pjoin(share_jupyter, 'static')
|
||||
|
||||
is_repo = os.path.exists(pjoin(here, '.git'))
|
||||
@@ -53,7 +53,7 @@ def get_data_files():
|
||||
data_files = []
|
||||
ntrim = len(here + os.path.sep)
|
||||
|
||||
for (d, dirs, filenames) in os.walk(share_jupyter):
|
||||
for (d, dirs, filenames) in os.walk(share_jupyterhub):
|
||||
data_files.append((
|
||||
d[ntrim:],
|
||||
[ pjoin(d, f) for f in filenames ]
|
||||
|
Reference in New Issue
Block a user