Skip to content

Commit

Permalink
Merge pull request #20 from python-project-templates/copier-update-20…
Browse files Browse the repository at this point in the history
…24-12-01T05-18-46

Update from copier (2024-12-01T05:18:46)
  • Loading branch information
timkpaine authored Dec 1, 2024
2 parents 4fda4b9 + d6a540a commit a9e2395
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 27 deletions.
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: [email protected]
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

0 comments on commit a9e2395

Please sign in to comment.