Skip to content
This repository was archived by the owner on Feb 14, 2024. It is now read-only.

Commit 280c7c6

Browse files
authored
Merge pull request #17 from martinRenou/reduce_sdist_size
Reduce sdist size
2 parents 58c946f + 1caa8ef commit 280c7c6

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

MANIFEST.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ include install.json
77
include ts*.json
88
include yarn.lock
99
include webpack.config.js
10+
include Dockerfile
1011
recursive-include tests *.py
1112

1213
graft share
1314

1415
graft docs
1516

1617
# Javascript files
17-
graft src
18+
include src/*.ts
1819
graft style
1920
prune **/node_modules
2021
prune lib

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@
1717
# Representative files that should exist after a successful build
1818
ensured_targets = [
1919
str(lab_path / "package.json"),
20-
str(lab_path / "static/style.js")
20+
str(lab_path / "static" / "python_data.js"),
21+
str(lab_path / "static" / "python_data.data"),
22+
str(lab_path / "static" / "xpython_wasm.js"),
23+
str(lab_path / "static" / "xpython_wasm.wasm"),
24+
str(lab_path / "static" / "style.js")
2125
]
2226

2327
labext_name = "@jupyterlite/xeus-python-kernel"

0 commit comments

Comments
 (0)