File tree 4 files changed +14
-12
lines changed 4 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,8 @@ sdist.exclude = [".*",
66
66
" tutorial" ,
67
67
" python/finufft" ,
68
68
" python/cufinufft/tests" ,
69
- " src" ]
69
+ " src" ,
70
+ " wheelhouse" ]
70
71
sdist.include = [" src/cuda" ]
71
72
72
73
[tool .scikit-build .metadata .version ]
Original file line number Diff line number Diff line change @@ -66,7 +66,8 @@ sdist.exclude = [".*",
66
66
" tutorial" ,
67
67
" include/cufinufft*" ,
68
68
" python/cufinufft" ,
69
- " src/cuda" ]
69
+ " src/cuda" ,
70
+ " wheelhouse" ]
70
71
71
72
[tool .scikit-build .metadata .version ]
72
73
# Instead of hardcoding the version here, extract it from the source files.
Original file line number Diff line number Diff line change 3
3
set -e -x
4
4
5
5
# Move pyproject.toml to root (otherwise no way to include C++ sources in sdist).
6
- mv finufft/ python/cufinufft/pyproject.toml finufft/
6
+ cp python/cufinufft/pyproject.toml .
7
7
8
8
# Fix paths in pyproject.toml to reflect the new directory structure.
9
- toml set --toml-path finufft/ pyproject.toml \
9
+ toml set --toml-path pyproject.toml \
10
10
tool.scikit-build.cmake.source-dir " ."
11
- toml set --toml-path finufft/ pyproject.toml \
11
+ toml set --toml-path pyproject.toml \
12
12
tool.scikit-build.wheel.packages --to-array " [\" python/cufinufft/cufinufft\" ]"
13
- toml set --toml-path finufft/ pyproject.toml \
13
+ toml set --toml-path pyproject.toml \
14
14
tool.scikit-build.metadata.version.input " python/cufinufft/cufinufft/__init__.py"
15
15
16
16
# Package the sdist.
17
- python3 -m build --verbose --sdist --outdir wheelhouse finufft
17
+ python3 -m build --verbose --sdist --outdir wheelhouse .
Original file line number Diff line number Diff line change 3
3
set -e -x
4
4
5
5
# Move pyproject.toml to root (otherwise no way to include C++ sources in sdist).
6
- mv finufft/ python/finufft/pyproject.toml finufft/
6
+ cp python/finufft/pyproject.toml .
7
7
8
8
# Fix paths in pyproject.toml to reflect the new directory structure.
9
- toml set --toml-path finufft/ pyproject.toml \
9
+ toml set --toml-path pyproject.toml \
10
10
tool.scikit-build.cmake.source-dir " ."
11
- toml set --toml-path finufft/ pyproject.toml \
11
+ toml set --toml-path pyproject.toml \
12
12
tool.scikit-build.wheel.packages --to-array " [\" python/finufft/finufft\" ]"
13
- toml set --toml-path finufft/ pyproject.toml \
13
+ toml set --toml-path pyproject.toml \
14
14
tool.scikit-build.metadata.version.input " python/finufft/finufft/__init__.py"
15
15
16
16
# Package the sdist.
17
- python3 -m build --verbose --sdist --outdir wheelhouse finufft
17
+ python3 -m build --verbose --sdist --outdir wheelhouse .
You can’t perform that action at this time.
0 commit comments