Mercurial > public > mercurial-scm > hg-stable
changeset 52893:6ce3fc909a68
setup: don't add Rust build artifacts to dependencies
This is probably expensive and is useless.
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Wed, 12 Feb 2025 16:15:47 +0100 |
parents | e02c36478284 |
children | 0977c6e612fe |
files | setup.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Sat Dec 21 17:43:38 2024 -0500 +++ b/setup.py Wed Feb 12 16:15:47 2025 +0100 @@ -1280,6 +1280,9 @@ if os.path.exists(cargo_lock): self.depends.append(cargo_lock) for dirpath, subdir, fnames in os.walk(os.path.join(srcdir, 'src')): + if dirpath == os.path.join(srcdir, "target"): + # Skip this large artifacts free + continue self.depends.extend( os.path.join(dirpath, fname) for fname in fnames