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

Reduce sdist size #17

Merged
merged 1 commit into from May 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion MANIFEST.in
Expand Up @@ -7,14 +7,15 @@ include install.json
include ts*.json
include yarn.lock
include webpack.config.js
include Dockerfile
recursive-include tests *.py

graft share

graft docs

# Javascript files
graft src
include src/*.ts
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not including the .js, .data, .wasm files anymore, they are under share already

graft style
prune **/node_modules
prune lib
Expand Down
6 changes: 5 additions & 1 deletion setup.py
Expand Up @@ -17,7 +17,11 @@
# Representative files that should exist after a successful build
ensured_targets = [
str(lab_path / "package.json"),
str(lab_path / "static/style.js")
str(lab_path / "static" / "python_data.js"),
str(lab_path / "static" / "python_data.data"),
str(lab_path / "static" / "xpython_wasm.js"),
str(lab_path / "static" / "xpython_wasm.wasm"),
str(lab_path / "static" / "style.js")
]

labext_name = "@jupyterlite/xeus-python-kernel"
Expand Down