Skip to content

Commit 5c64c08

Browse files
authored
Merge pull request #63 from ShaheedHaque/srh_issue_62
Fix for pip "RECORD file not found" issue
2 parents d57b998 + 3e27764 commit 5c64c08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ python_code: setup.py pyproject.toml
3535
# too hard to check for.
3636
#
3737
$(eval PIP_VERSION := $(shell $(PIP) --version 2>&1 | cut -d ' ' -f 2 | cut -d '.' -f 1))
38-
$(eval PIP_FLAGS := $(shell [ $(PIP_VERSION) -ge 23 ] && echo "--break-system-packages"))
38+
$(eval PIP_FLAGS := $(shell [ $(PIP_VERSION) -ge 23 ] && echo "--break-system-packages --ignore-installed"))
3939
#
4040
# Workaround https://github.com/pgsql-io/multicorn2/issues/34, and then
4141
# re-evaluate PIP_VERSION/PIP_FLAGS.
4242
#
4343
$(PIP) install $(PIP_FLAGS) --upgrade 'pip>=23'
4444
$(eval PIP_VERSION := $(shell $(PIP) --version 2>&1 | cut -d ' ' -f 2 | cut -d '.' -f 1))
45-
$(eval PIP_FLAGS := $(shell [ $(PIP_VERSION) -ge 23 ] && echo "--break-system-packages"))
45+
$(eval PIP_FLAGS := $(shell [ $(PIP_VERSION) -ge 23 ] && echo "--break-system-packages --ignore-installed"))
4646
$(PIP) install $(PIP_FLAGS) .
4747

4848
release-zip: all

0 commit comments

Comments
 (0)