Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: 325b8b8
_commit: 37ad578
_src_path: https://github.com/python-project-templates/base.git
add_extension: python
email: 3105306+timkpaine@users.noreply.github.com
Expand Down
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ develop: ## install dependencies and build library
python -m pip install -e .[develop]

build: ## build the python library
python setup.py build build_ext --inplace
python -m build -n

install: ## install library
python -m pip install .
Expand All @@ -34,7 +34,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
Expand All @@ -44,9 +44,6 @@ checks: check-manifest
# Alias
check: checks

annotate: ## run python type annotation checks with mypy
python -m mypy ./python_template

#########
# TESTS #
#########
Expand Down
24 changes: 3 additions & 21 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ ignore = [
".copier-answers.yml",
"Makefile",
"setup.py",
"docs/**/*",
]

[tool.coverage.run]
Expand All @@ -87,29 +88,10 @@ artifacts = []
src = "/"

[tool.hatch.build.targets.sdist]
include = [
"/python_template",
"LICENSE",
"README.md",
]
exclude = [
".copier-answers.yml",
"/.github",
"/.gitattributes",
"/.gitignore",
]
packages = ["python_template"]

[tool.hatch.build.targets.wheel]
include = [
"/python_template",
]
exclude = [
".copier-answers.yml",
"/.github",
"/.gitattributes",
"/.gitignore",
"/pyproject.toml",
]
packages = ["python_template"]

[tool.hatch.build.targets.wheel.shared-data]

Expand Down