Skip to content

Commit daccf59

Browse files
authored
Revert "Add jupytercad_lite metapackage" (#684)
Revert "Add `jupytercad_lite` metapackage (#681)" This reverts commit 8863bf5.
1 parent 07aa4f9 commit daccf59

File tree

14 files changed

+10
-156
lines changed

14 files changed

+10
-156
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ jobs:
8585
python/jupytercad_lab/dist/jupytercad*
8686
python/jupytercad_app/dist/jupytercad*
8787
python/jupytercad/dist/jupytercad*
88-
python/jupytercad_lite/dist/jupytercad*
8988
if-no-files-found: error
9089

9190
test_isolated:
@@ -237,7 +236,6 @@ jobs:
237236
cp ./jupytercad_core/dist/jupytercad*.whl jupytercad_core-0.0.1-py3-none-any.whl
238237
cp ./jupytercad_lab/dist/jupytercad*.whl jupytercad_lab-0.0.1-py3-none-any.whl
239238
cp ./jupytercad_app/dist/jupytercad*.whl jupytercad_app-0.0.1-py3-none-any.whl
240-
cp ./jupytercad_lite/dist/jupytercad*.whl jupytercad_lite-0.0.1-py3-none-any.whl
241239
242240
- name: Build the lite site
243241
shell: bash -l {0}

examples/Notebook.ipynb

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,17 @@
1818
},
1919
{
2020
"cell_type": "code",
21-
"execution_count": 4,
21+
"execution_count": 10,
2222
"id": "050e5936-f9e1-44ff-8bc9-a8556d7643ee",
2323
"metadata": {},
24-
"outputs": [
25-
{
26-
"ename": "ModuleNotFoundError",
27-
"evalue": "No module named 'jupytercad'",
28-
"output_type": "error",
29-
"traceback": [
30-
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
31-
"\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
32-
"Cell \u001b[0;32mIn[4], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mjupytercad\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m CadDocument\n",
33-
"\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'jupytercad'"
34-
]
35-
}
36-
],
24+
"outputs": [],
3725
"source": [
38-
"from jupytercad import CadDocument"
26+
"from jupytercad_lab import CadDocument"
3927
]
4028
},
4129
{
4230
"cell_type": "code",
43-
"execution_count": 5,
31+
"execution_count": 11,
4432
"id": "9821d466-6ae7-418f-aea7-9d67153da7d6",
4533
"metadata": {},
4634
"outputs": [],
@@ -50,22 +38,22 @@
5038
},
5139
{
5240
"cell_type": "code",
53-
"execution_count": 6,
41+
"execution_count": 12,
5442
"id": "e30499f0-6732-4611-a25e-46b27e606b08",
5543
"metadata": {},
5644
"outputs": [
5745
{
5846
"data": {
5947
"application/vnd.jupyter.ywidget-view+json": {
60-
"model_id": "c0c9e05d08ec4e71bebc1877eec30531",
48+
"model_id": "c586b4fc0d474786bd7fbf9635e15421",
6149
"version_major": 2,
6250
"version_minor": 0
6351
},
6452
"text/plain": [
65-
"<jupytercad_lab.notebook.cad_document.CadDocument object at 0x108aa4800>"
53+
"<jupytercad_lab.notebook.cad_document.CadDocument object at 0x110fc7410>"
6654
]
6755
},
68-
"execution_count": 6,
56+
"execution_count": 12,
6957
"metadata": {},
7058
"output_type": "execute_result"
7159
}

lite/environment.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ dependencies:
1616
- my-jupyter-shared-drive
1717
- ../jupytercad_core-0.0.1-py3-none-any.whl
1818
- ../jupytercad_lab-0.0.1-py3-none-any.whl
19-
- ../jupytercad_lite-0.0.1-py3-none-any.whl

packages/base/src/widget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ export class JupyterCadPanel extends SplitPanel {
272272
this.setRelativeSizes([2, 1]);
273273
this._consoleOpened = true;
274274
await consolePanel.console.inject(
275-
`from jupytercad import CadDocument\ndoc = CadDocument("${jcadPath}")`
275+
`from jupytercad_lab import CadDocument\ndoc = CadDocument("${jcadPath}")`
276276
);
277277
consolePanel.console.sessionContext.kernelChanged.connect((_, arg) => {
278278
if (!arg.newValue) {

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ python_packages = [
2323
"python/jupytercad_app:jupytercad_app",
2424
"python/jupytercad_core:jupytercad_core",
2525
"python/jupytercad_lab:jupytercad_lab",
26-
"python/jupytercad_lite:jupytercad",
2726
]
2827

2928
[tool.jupyter-releaser.hooks]

python/jupytercad_lite/LICENSE

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

python/jupytercad_lite/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

python/jupytercad_lite/jupytercad/__init__.py

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

python/jupytercad_lite/pyproject.toml

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

python/jupytercad_lite/scripts/bump-version.py

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

0 commit comments

Comments
 (0)