Skip to content

Commit c227141

Browse files
committed
Debian 9 introduced patch into pip, which auto-adds "--user" parameter
to pip, which cannot work with "--target". Therefore, "make" fails on current Debian stable (Stretch, 9). Just adding "--system" before "-t" fixes that. Yes, it's stupid, but it works. For more info, see: pypa/pip#3826
1 parent df93a11 commit c227141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ BUILD_DIR=build
99
haaska.zip: haaska.py config/*
1010
mkdir -p $(BUILD_DIR)
1111
cp $^ $(BUILD_DIR)
12-
pip install -t $(BUILD_DIR) requests
12+
pip install --system -t $(BUILD_DIR) requests
1313
cd $(BUILD_DIR); zip ../$@ -r *
1414

1515
.PHONY: deploy

0 commit comments

Comments
 (0)