Skip to content

Commit 635abbf

Browse files
committed
[do not merge] testing changes
1 parent 68fb39e commit 635abbf

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

.copier-answers.yaml

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: c124449
2+
_commit: 86629a1
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: true
55
add_extension: cpp

cpp/cpp-template/extension.cpp

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#include "python-template-cpp/extension.hpp"
2+
3+
int add(int i, int j) { return i + j; }
File renamed without changes.

pyproject.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ ignore = [
7878
".clang-format",
7979
"Makefile",
8080
"docs/**/*",
81+
"python_template_cpp/*.dll",
82+
"python_template_cpp/*.dylib",
83+
"python_template_cpp/*.so",
8184
]
8285

8386
[tool.cibuildwheel]
@@ -112,9 +115,9 @@ fail_under = 50
112115

113116
[tool.hatch.build]
114117
artifacts = [
115-
"project/*.dll",
116-
"project/*.dylib",
117-
"project/*.so",
118+
"python_template_cpp/*.dll",
119+
"python_template_cpp/*.dylib",
120+
"python_template_cpp/*.so",
118121
]
119122

120123
[tool.hatch.build.sources]
@@ -123,7 +126,7 @@ src = "/"
123126
[tool.hatch.build.hooks.hatch-cpp]
124127
verbose = true
125128
libraries = [
126-
{name = "python_template_cpp/extension", sources = ["cpp/cpp-template/extension.cpp"], include-dirs = ["cpp"], binding="pybind11"}
129+
{name = "python_template_cpp/extension", sources = ["cpp/python-template-cpp/extension.cpp"], include-dirs = ["cpp"], binding="pybind11"}
127130
]
128131

129132
[tool.hatch.build.targets.sdist]

0 commit comments

Comments
 (0)