Skip to content

Commit 4342a0c

Browse files
committed
mesonpy: include uncommited changes in sdist
Fixes #53 Signed-off-by: Filipe Laíns <[email protected]>
1 parent 73e3aee commit 4342a0c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mesonpy/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ def _select_abi_tag(self) -> Optional[mesonpy._tags.Tag]: # noqa: C901
719719
def sdist(self, directory: Path) -> pathlib.Path:
720720
"""Generates a sdist (source distribution) in the specified directory."""
721721
# generate meson dist file
722-
self._meson('dist', '--no-tests', '--formats', 'gztar')
722+
self._meson('dist', '--allow-dirty', '--no-tests', '--formats', 'gztar')
723723

724724
# move meson dist file to output path
725725
dist_name = f'{self.name}-{self.version}'

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
build-backend = 'mesonpy'
33
backend-path = ['.']
44
requires = [
5-
'meson>=0.60.0',
5+
'meson>=0.62.0',
66
'ninja',
77
'tomli>=1.0.0',
88
'typing-extensions>=3.7.4; python_version<"3.8"',

0 commit comments

Comments
 (0)