diff --git a/.copier-answers.yml b/.copier-answers.yml index 2653607..1ecac72 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 70d506b +_commit: 37ad578 _src_path: https://github.com/python-project-templates/base.git add_extension: js email: 3105306+timkpaine@users.noreply.github.com diff --git a/Makefile b/Makefile index c513b70..78b2aad 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ format: fix ################ # Other Checks # ################ -.PHONY: check-manifest checks check annotate +.PHONY: check-manifest checks check check-manifest: ## check python sdist manifest with check-manifest check-manifest -v @@ -65,9 +65,6 @@ checks: check-manifest # alias check: checks -annotate: ## run python type annotation checks with mypy - python -m mypy ./python_template_js - ######### # TESTS # ######### diff --git a/README.md b/README.md index 9848abd..d96ad73 100644 --- a/README.md +++ b/README.md @@ -11,5 +11,5 @@ A JavaScript-Python project template ## Overview -> \[!NOTE\] +> [!NOTE] > This library was generated using [copier](https://copier.readthedocs.io/en/stable/) from the [Base Python Project Template repository](https://github.com/python-project-templates/base). diff --git a/pyproject.toml b/pyproject.toml index 747b0cd..6e19274 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -75,7 +74,9 @@ ignore = [ "js/pnpm-lock.yaml", "Makefile", "setup.py", - "python_template_js/**/*", + "python_template_js/extension/**/*", + "docs/**/*", + "js/dist/**/*", ] [tool.coverage.run] @@ -101,32 +102,14 @@ artifacts = [ src = "/" [tool.hatch.build.targets.sdist] -include = [ - "/python_template_js", - "/js", - "LICENSE", - "README.md", -] +packages = ["python_template_js", "js"] exclude = [ - ".copier-answers.yml", - "/.github", - "/.gitattributes", - "/.gitignore", + "/js/dist", "/js/node_modules", ] [tool.hatch.build.targets.wheel] -include = [ - "/python_template_js", -] -exclude = [ - ".copier-answers.yml", - "/.github", - "/.gitattributes", - "/.gitignore", - "/js/node_modules", - "/pyproject.toml", -] +packages = ["python_template_js"] [tool.hatch.build.hooks.jupyter-builder] build-function = "hatch_jupyter_builder.npm_builder"