Skip to content

Commit 9984167

Browse files
committed
Add jupytergis-lite metapackage
1 parent 89e4de9 commit 9984167

File tree

12 files changed

+80
-64
lines changed

12 files changed

+80
-64
lines changed

docs/environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ dependencies:
1616
- my-jupyter-shared-drive
1717
- ../python/jupytergis_lab
1818
- ../python/jupytergis_core
19+
- ../python/jupytergis_lite

examples/Notebook.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"metadata": {},
2424
"outputs": [],
2525
"source": [
26-
"from jupytergis_lab import GISDocument"
26+
"from jupytergis import GISDocument"
2727
]
2828
},
2929
{

examples/vector_colors.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
}
2424
],
2525
"source": [
26-
"from jupytergis_lab import GISDocument\n",
26+
"from jupytergis import GISDocument\n",
2727
"\n",
2828
"doc = GISDocument()\n",
2929
"\n",

packages/base/src/widget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export class JupyterGISPanel extends SplitPanel {
201201
this.setRelativeSizes([2, 1]);
202202
this._consoleOpened = true;
203203
await consolePanel.console.inject(
204-
`from jupytergis_lab import GISDocument\ndoc = GISDocument("${jgisPath}")`
204+
`from jupytergis import GISDocument\ndoc = GISDocument("${jgisPath}")`
205205
);
206206
consolePanel.console.sessionContext.kernelChanged.connect((_, arg) => {
207207
if (!arg.newValue) {

python/jupytergis/scripts/bump-version.py

Lines changed: 0 additions & 59 deletions
This file was deleted.

python/jupytergis_lite/LICENSE

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
BSD 3-Clause License
2+
3+
Copyright (c) 2025, JupyterGIS contributors
4+
All rights reserved.
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, are permitted provided that the following conditions are met:
8+
9+
1. Redistributions of source code must retain the above copyright notice, this
10+
list of conditions and the following disclaimer.
11+
12+
2. Redistributions in binary form must reproduce the above copyright notice,
13+
this list of conditions and the following disclaimer in the documentation
14+
and/or other materials provided with the distribution.
15+
16+
3. Neither the name of the copyright holder nor the names of its
17+
contributors may be used to endorse or promote products derived from
18+
this software without specific prior written permission.
19+
20+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

python/jupytergis_lite/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# JupyterGIS meta-package for JupyterLite
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
__version__ = "0.3.0"
2+
3+
from jupytergis_lab import GISDocument # noqa
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
[build-system]
2+
build-backend = "hatchling.build"
3+
requires = ["hatchling>=1.5.0,<2"]
4+
5+
[project]
6+
classifiers = [
7+
"Framework :: Jupyter",
8+
"Framework :: Jupyter :: JupyterLab",
9+
"Framework :: Jupyter :: JupyterLab :: 4",
10+
"Framework :: Jupyter :: JupyterLab :: Extensions",
11+
"Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt",
12+
"License :: OSI Approved :: BSD License",
13+
"Programming Language :: Python",
14+
"Programming Language :: Python :: 3",
15+
"Programming Language :: Python :: 3.8",
16+
"Programming Language :: Python :: 3.9",
17+
"Programming Language :: Python :: 3.10",
18+
"Programming Language :: Python :: 3.11",
19+
"Programming Language :: Python :: 3.12",
20+
]
21+
dependencies = [
22+
"jupytergis_core>=0.1.0,<1",
23+
"jupytergis_lab>=0.1.0,<1",
24+
"my-jupyter-shared-drive",
25+
]
26+
dynamic = ["version"]
27+
license = {file = "LICENSE"}
28+
name = "jupytergis-lite"
29+
readme = "README.md"
30+
requires-python = ">=3.10"
31+
32+
33+
[tool.hatch.version]
34+
path = "jupytergis/__init__.py"
35+
36+
[tool.jupyter-releaser.options]
37+
version_cmd = "hatch version"
38+
39+
[tool.check-wheel-contents]
40+
ignore = ["W002"]

python/jupytergis_lite/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__import__("setuptools").setup()

0 commit comments

Comments
 (0)