From 338c9341e3b01459c59989c4387d64a48a277fef Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Thu, 24 Dec 2020 15:17:43 +0100 Subject: [PATCH] Fix package_data_spec --- setup.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index b52923b40..aa9f82ff4 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ jstargets = [ os.path.join(main_bundle_dest, "bundle.js"), ] -package_data_spec = {PACKAGE_NAME: ["*"]} +package_data_spec = {PACKAGE_NAME: ["*", "templates/*", "static/**"]} data_files_spec = [ ("share/jupyter/labextensions/%s" % labext_name, lab_extension_dest, "**"), @@ -81,7 +81,7 @@ setup_args = dict( description="The next gen old-school Notebook UI", long_description=long_description, long_description_content_type="text/markdown", - cmdclass= cmdclass, + cmdclass=cmdclass, packages=setuptools.find_packages(), install_requires=[ "jupyterlab~=3.0", @@ -102,9 +102,7 @@ setup_args = dict( "Programming Language :: Python :: 3.9", "Framework :: Jupyter", ], - entry_points={ - "console_scripts": ["jupyter-classic = jupyterlab_classic.app:main"] - }, + entry_points={"console_scripts": ["jupyter-classic = jupyterlab_classic.app:main"]}, )