From f21f1b227b64ebab10d61bdbd35457a03505ee1d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 15 Mar 2023 09:37:06 +0530 Subject: [PATCH] Fix a regression in the previous release that caused some generated resources to be not included in the released source tarball --- setup/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/install.py b/setup/install.py index b21f11b34e..ea0c71d807 100644 --- a/setup/install.py +++ b/setup/install.py @@ -303,7 +303,7 @@ class Sdist(Command): os.mkdir(tdir) subprocess.check_call('git archive HEAD | tar -x -C ' + tdir, shell=True) for x in open('.gitignore').readlines(): - if not x.startswith('resources/'): + if not x.startswith('/resources/'): continue p = x.strip().replace('/', os.sep) for p in glob.glob(p):