notebook/setup.py

65 lines
1.7 KiB
Python
Raw Normal View History

2020-12-04 21:15:41 +08:00
"""
jupyterlab-classic setup
"""
import os
from jupyter_packaging import get_version
import setuptools
HERE = os.path.abspath(os.path.dirname(__file__))
# The name of the project
NAME = "jupyterlab-classic"
PACKAGE_NAME = NAME.replace("-", "_")
# Get our version
version = get_version(os.path.join(PACKAGE_NAME, "_version.py"))
with open("README.md", "r") as fh:
long_description = fh.read()
setup_args = dict(
name=NAME,
version=version,
url="https://github.com/jtpio/jupyterlab-classic",
author="Jeremy Tuloup",
description="The next gen old-school Notebook UI",
long_description=long_description,
long_description_content_type="text/markdown",
data_files=[
(
"etc/jupyter/jupyter_server_config.d",
["jupyter-config/jupyter_server_config.d/jupyterlab_classic.json"],
),
],
packages=setuptools.find_packages(),
install_requires=[
"jupyterlab>=3.0.0rc10,==3.*",
],
zip_safe=False,
include_package_data=True,
python_requires=">=3.6",
license="BSD-3-Clause",
platforms="Linux, Mac OS X, Windows",
keywords=["Jupyter", "JupyterLab", "Notebook"],
classifiers=[
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Framework :: Jupyter",
],
2020-12-07 17:21:05 +08:00
entry_points={
"console_scripts": [
"jupyterlab-classic = jupyterlab_classic.app:main"
]
}
2020-12-04 21:15:41 +08:00
)
if __name__ == "__main__":
setuptools.setup(**setup_args)