Skip to content

Commit aec6941

Browse files
committed
use setuptools-scm to fix some folder issues
Signed-off-by: Kit Lee <[email protected]>
1 parent d3f6c1d commit aec6941

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/workflows/wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919

2020
jobs:
2121
make_sdist:
22-
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
22+
# if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
2323
runs-on: ubuntu-22.04
2424

2525
steps:

MANIFEST.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# MANIFEST.in commands specified here:
22
# https://packaging.python.org/en/latest/guides/using-manifest-in/#manifest-in-commands
33

4+
prune docs/
5+
prune .github/
6+
47
include CHANGELOG.md
58
include CMakeLists.txt
69
include LICENSE
@@ -22,3 +25,4 @@ include src/h3lib/CMakeLists.txt
2225
graft src/h3lib/cmake
2326
graft src/h3lib/src/h3lib
2427
exclude MANIFEST.in
28+
exclude .*

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ requires = [
33
'scikit-build',
44
'cython',
55
'cmake',
6+
'setuptools-scm',
67
]

0 commit comments

Comments
 (0)