Skip to content

Commit a9e2395

Browse files
authored
Merge pull request #20 from python-project-templates/copier-update-2024-12-01T05-18-46
Update from copier (2024-12-01T05:18:46)
2 parents 4fda4b9 + d6a540a commit a9e2395

File tree

3 files changed

+6
-27
lines changed

3 files changed

+6
-27
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: 325b8b8
2+
_commit: 37ad578
33
_src_path: https://github.com/python-project-templates/base.git
44
add_extension: python
55

Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ develop: ## install dependencies and build library
77
python -m pip install -e .[develop]
88

99
build: ## build the python library
10-
python setup.py build build_ext --inplace
10+
python -m build -n
1111

1212
install: ## install library
1313
python -m pip install .
@@ -34,7 +34,7 @@ format: fix
3434
################
3535
# Other Checks #
3636
################
37-
.PHONY: check-manifest checks check annotate
37+
.PHONY: check-manifest checks check
3838

3939
check-manifest: ## check python sdist manifest with check-manifest
4040
check-manifest -v
@@ -44,9 +44,6 @@ checks: check-manifest
4444
# Alias
4545
check: checks
4646

47-
annotate: ## run python type annotation checks with mypy
48-
python -m mypy ./python_template
49-
5047
#########
5148
# TESTS #
5249
#########

pyproject.toml

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ ignore = [
6464
".copier-answers.yml",
6565
"Makefile",
6666
"setup.py",
67+
"docs/**/*",
6768
]
6869

6970
[tool.coverage.run]
@@ -87,29 +88,10 @@ artifacts = []
8788
src = "/"
8889

8990
[tool.hatch.build.targets.sdist]
90-
include = [
91-
"/python_template",
92-
"LICENSE",
93-
"README.md",
94-
]
95-
exclude = [
96-
".copier-answers.yml",
97-
"/.github",
98-
"/.gitattributes",
99-
"/.gitignore",
100-
]
91+
packages = ["python_template"]
10192

10293
[tool.hatch.build.targets.wheel]
103-
include = [
104-
"/python_template",
105-
]
106-
exclude = [
107-
".copier-answers.yml",
108-
"/.github",
109-
"/.gitattributes",
110-
"/.gitignore",
111-
"/pyproject.toml",
112-
]
94+
packages = ["python_template"]
11395

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

0 commit comments

Comments
 (0)