Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .copier-answers.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: 37f89c1
_commit: 08a244d
_src_path: https://github.com/python-project-templates/base.git
add_docs: false
add_extension: rustjswasm
Expand Down
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,12 @@ js/node_modules
js/test-results
js/playwright-report
js/*.tgz
zarc/extension

# Jupyter
.ipynb_checkpoints
.autoversion
Untitled*.ipynb
!zarc/extension/zarc.json
!zarc/extension/install.json
zarc/extension
zarc/nbextension
zarc/labextension

Expand All @@ -157,3 +155,7 @@ zarc/labextension

# Rust
target

# Hydra
outputs/
multirun/
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ publish = false

[lib]
name = "zarc"
path = "src/lib.rs"
path = "rust/python/lib.rs"
crate-type = ["cdylib"]

[dependencies]
zarc = { path = "./rust", version = "*" }
pyo3 = { version = "0.27.1", features = ["abi3-py39", "extension-module", "multiple-pymethods"] }
pyo3 = { version = "0.28.2", features = ["abi3", "extension-module", "multiple-pymethods"] }

[profile.release]
panic = 'abort'
Expand Down
11 changes: 7 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,15 @@ format: fix
################
# Other Checks #
################
.PHONY: check-manifest checks check
.PHONY: check-dist check-types checks check

check-manifest: ## check python sdist manifest with check-manifest
check-manifest -v
check-dist: ## check python sdist and wheel with check-dist
check-dist -v

checks: check-manifest
check-types: ## check python types with ty
ty check --python $$(which python)

checks: check-dist

# alias
check: checks
Expand Down
4 changes: 2 additions & 2 deletions js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@
"@playwright/test": "^1.56.1",
"@prospective.co/procss": "^0.1.17",
"cpy": "^12.1.0",
"esbuild": "^0.27.0",
"esbuild": "^0.27.2",
"esbuild-plugin-less": "^1.3.35",
"http-server": "^14.1.1",
"nodemon": "^3.1.10",
"npm-run-all": "^4.1.5",
"prettier": "^3.7.4",
"prettier": "^3.8.1",
"typescript": "^5.9.3"
}
}
42 changes: 14 additions & 28 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@ dependencies = []
develop = [
"build",
"bump-my-version",
"check-manifest",
"check-dist",
"cibuildwheel",
"codespell>=2.4,<2.5",
"codespell",
"hatch-js",
"hatch-rs",
"hatchling",
"mdformat>=0.7.22,<1.1",
"mdformat",
"mdformat-tables>=1",
"pytest",
"pytest-cov",
"ruff>=0.9,<0.15",
"ruff",
"twine",
"ty",
"uv",
Expand Down Expand Up @@ -97,22 +97,6 @@ filename = "rust/Cargo.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'

[tool.check-manifest]
ignore = [
".copier-answers.yaml",
"Cargo.toml",
"Cargo.lock",
"js/pnpm-lock.yaml",
"Makefile",
".vscode/*",
"zarc/extension/**/*",
"docs/**/*",
"js/dist/**/*",
"rust/.config/*",
"rust/Cargo.lock",
"rust/README.md",
]

[tool.cibuildwheel]
build = "cp310-*"
test-command = "pytest -vvv {project}/zarc/tests"
Expand Down Expand Up @@ -165,22 +149,24 @@ path = "."
[tool.hatch.build.targets.sdist]
packages = [
"zarc",
"/js",
"/rust",
"/src",
"js",
"rust",
"Cargo.toml",
"Cargo.lock",
]
sources = [
".",
exclude = [
"js/node_modules",
"rust/Makefile",
"target",
]

[tool.hatch.build.targets.wheel]
packages = [
"zarc",
]
exclude = [
"/js",
"/rust",
"/src",
"js",
"rust",
]

[tool.pytest.ini_options]
Expand Down
File renamed without changes.
File renamed without changes.
Loading