Skip to content

Commit 0e837ae

Browse files
authored
Pair down size of final wheel via cargo exclude. (#116)
1 parent 34028ec commit 0e837ae

4 files changed

Lines changed: 45 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ name: Publish to PyPi
4040
on:
4141
release:
4242
types: [published]
43+
workflow_dispatch:
4344

4445
jobs:
4546
build-artifacts-mac-win:

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,19 @@ name = "xarray_sql"
33
version = "0.2.0"
44
authors = ["Alex Merose"]
55
edition = "2021"
6-
exclude = ["perf_tests/*"]
6+
exclude = [
7+
"perf_tests/*",
8+
"demo/*",
9+
".github/*",
10+
".idea/*",
11+
".claude/*",
12+
".pre-commit-config.yaml",
13+
".python-version",
14+
"CONTRIBUTING.md",
15+
"MANIFEST.in",
16+
"uv.lock",
17+
"xarray_sql/*_test.py",
18+
]
719

820
[dependencies]
921
arrow = { version = "57.2.0", features = ["pyarrow"] }

MANIFEST.in

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
include Cargo.toml
2+
include Cargo.lock
3+
include pyproject.toml
4+
include README.md
5+
include LICENSE
6+
7+
recursive-include src *.rs
8+
recursive-include xarray_sql *.py
9+
recursive-exclude xarray_sql *_test.py
10+
11+
prune demo
12+
prune perf_tests
13+
prune target
14+
prune .github
15+
prune .idea
16+
prune .venv
17+
prune .mypy_cache
18+
prune .pytest_cache
19+
prune .claude
20+
prune xarray_sql.egg-info
21+
22+
recursive-exclude xarray_sql *.so
23+
recursive-exclude * __pycache__
24+
25+
exclude .DS_Store
26+
exclude .pre-commit-config.yaml
27+
exclude .python-version
28+
exclude .gitignore
29+
exclude CONTRIBUTING.md
30+
exclude uv.lock

0 commit comments

Comments
 (0)