Skip to content

Commit 5915072

Browse files
committed
MAINT: avoid warnings because of symlinks pointing outside repo
1 parent d8ed599 commit 5915072

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.gitattributes

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# SPDX-FileCopyrightText: 2025 The meson-python developers
2+
#
3+
# SPDX-License-Identifier: MIT
4+
5+
# These test files contain symlinks to outside the repo (hence invalid - on
6+
# purpose) so exclude them to prevent warnings. See gh-728 for context.
7+
tests/packages/symlinks/baz.py export-ignore
8+
tests/packages/symlinks/qux.py export-ignore

tests/packages/symlinks/meson.build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ project('symlinks')
66

77
py = import('python').find_installation()
88

9+
# Note that `baz.py` and `qux.py`, which contain symlinks to outside the repo
10+
# (unsupported), are present in the git repo but won't be present in a
11+
# meson-python sdist (see gh-747).
912
py.install_sources(
1013
'__init__.py',
1114
'submodule/__init__.py',

0 commit comments

Comments
 (0)