forked from jupyterlab/jupyterlab
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[3.0.x] Remove Dependency on Jupyter Packaging (jupyterlab#10218)
- Loading branch information
Showing
5 changed files
with
110 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,33 @@ | ||
include package.json | ||
include LICENSE | ||
include CONTRIBUTING.md | ||
include README.md | ||
include *.md | ||
include pyproject.toml | ||
include setup.py | ||
include setup.cfg | ||
include conftest.py | ||
|
||
# Documentation | ||
graft docs | ||
exclude docs/\#* | ||
prune docs/api | ||
prune docs/build | ||
|
||
# We must include the package_data files since include_package_data=True | ||
# See https://github.com/pypa/setuptools/issues/1461 | ||
include jupyterlab/staging/* | ||
include jupyterlab/staging/templates/* | ||
include jupyterlab/staging/.yarnrc | ||
graft jupyterlab/static | ||
graft jupyterlab | ||
graft jupyterlab/tests | ||
graft jupyterlab/tests/mock_packages | ||
graft jupyterlab/themes | ||
graft jupyterlab/schemas | ||
graft jupyter-config | ||
recursive-include jupyterlab *.js | ||
|
||
prune jupyterlab/staging/node_modules | ||
prune jupyterlab/**/node_modules | ||
prune jupyterlab/staging/build | ||
|
||
recursive-exclude jupyterlab *.pyc | ||
recursive-exclude jupyterlab *.js.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,22 @@ | ||
[build-system] | ||
requires=["setuptools", "wheel", "jupyter_packaging~=0.7.3"] | ||
build-backend = "setuptools.build_meta" | ||
requires=["jupyter_packaging~=0.9,<2"] | ||
build-backend = "jupyter_packaging.build_api" | ||
|
||
[license] | ||
file="LICENSE" | ||
|
||
[tool.jupyter-packaging.builder] | ||
factory = "jupyter_packaging.npm_builder" | ||
|
||
[tool.jupyter-packaging.build-args] | ||
build_cmd = "build:prod:minimize" | ||
path = "jupyterlab/staging" | ||
source_dir= "jupyterlab/staging" | ||
build_dir = "jupyterlab/static" | ||
npm = ["node", "yarn.js"] | ||
|
||
[tool.pytest.ini_options] | ||
testpaths="jupyterlab/tests" | ||
norecursedirs="node_modules .git _build" | ||
addopts="--pdbcls=IPython.terminal.debugger:Pdb -v --junitxml=junit.xml" | ||
ignore="tests examples" | ||
|
||
[license] | ||
file="LICENSE" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
[metadata] | ||
name = jupyterlab | ||
version = attr: jupyterlab._version.__version__ | ||
description = JupyterLab computational environment | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
license_file = LICENSE | ||
author = Jupyter Development Team | ||
author_email = jupyter@googlegroups.com | ||
url = https://jupyter.org | ||
platforms = Linux, Mac OS X, Windows | ||
keywords = ipython, jupyter | ||
classifiers = | ||
Development Status :: 5 - Production/Stable | ||
Intended Audience :: Developers | ||
Intended Audience :: System Administrators | ||
Intended Audience :: Science/Research | ||
License :: OSI Approved :: BSD License | ||
Programming Language :: Python | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
|
||
[options] | ||
zip_safe = False | ||
include_package_data = True | ||
packages = find: | ||
python_requires = >=3.6 | ||
install_requires = | ||
ipython | ||
packaging | ||
tornado>=6.1.0 | ||
jupyter_core | ||
jupyterlab_server~=2.3 | ||
jupyter_server~=1.4 | ||
nbclassic~=0.2 | ||
jinja2>=2.1 | ||
|
||
[options.extras_require] | ||
test = coverage; pytest>=6.0; pytest-cov; pytest-console-scripts; pytest-check-links>=0.5; jupyterlab_server[test]~=2.2; requests; requests_cache; virtualenv; check-manifest | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
jupyter-lab = jupyterlab.labapp:main | ||
jupyter-labextension = jupyterlab.labextensions:main | ||
jupyter-labhub = jupyterlab.labhubapp:main | ||
jlpm = jupyterlab.jlpmapp:main | ||
|
||
[options.packages.find] | ||
exclude = ['docs*', 'examples*'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters