mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 15:03:02 +00:00
fix inclusion of singleuser/templates/page.html in wheel
This commit is contained in:
@@ -12,7 +12,7 @@ print(f"DATA_FILES_PATH={DATA_FILES_PATH}", end=" ")
|
|||||||
DATA_FILES_PATH = Path(DATA_FILES_PATH)
|
DATA_FILES_PATH = Path(DATA_FILES_PATH)
|
||||||
assert DATA_FILES_PATH.is_dir(), DATA_FILES_PATH
|
assert DATA_FILES_PATH.is_dir(), DATA_FILES_PATH
|
||||||
for subpath in (
|
for subpath in (
|
||||||
"templates/page.html",
|
"templates/spawn.html",
|
||||||
"static/css/style.min.css",
|
"static/css/style.min.css",
|
||||||
"static/components/jquery/dist/jquery.js",
|
"static/components/jquery/dist/jquery.js",
|
||||||
"static/js/admin-react.js",
|
"static/js/admin-react.js",
|
||||||
@@ -28,6 +28,7 @@ for subpath in (
|
|||||||
"alembic.ini",
|
"alembic.ini",
|
||||||
"alembic/versions/833da8570507_rbac.py",
|
"alembic/versions/833da8570507_rbac.py",
|
||||||
"event-schemas/server-actions/v1.yaml",
|
"event-schemas/server-actions/v1.yaml",
|
||||||
|
"singleuser/templates/page.html",
|
||||||
):
|
):
|
||||||
path = jupyterhub_path / subpath
|
path = jupyterhub_path / subpath
|
||||||
assert path.is_file(), path
|
assert path.is_file(), path
|
||||||
|
2
setup.py
2
setup.py
@@ -55,7 +55,7 @@ def get_package_data():
|
|||||||
'alembic/*',
|
'alembic/*',
|
||||||
'alembic/versions/*',
|
'alembic/versions/*',
|
||||||
'event-schemas/*/*.yaml',
|
'event-schemas/*/*.yaml',
|
||||||
'jupyterhub/singleuser/templates/*.html',
|
'singleuser/templates/*.html',
|
||||||
]
|
]
|
||||||
return package_data
|
return package_data
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user