Skip to content

Commit a9a48b4

Browse files
committed
Makefile: Use pip to deploy aexpect
"setup.py develop" is deprecated, use pip instead. Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
1 parent c3bf4b8 commit a9a48b4

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
PYTHON=$(shell which python 2>/dev/null || which python3 2>/dev/null)
2-
PYTHON_DEVELOP_ARGS=$(shell if ($(PYTHON) setup.py develop --help 2>/dev/null | grep -q '\-\-user'); then echo "--user"; else echo ""; fi)
32
DESTDIR=/
43
BUILDIR=$(CURDIR)/debian/aexpect
54
PROJECT=aexpect
@@ -74,7 +73,7 @@ rpm-release: srpm-release
7473

7574
check: clean
7675
inspekt checkall --disable-lint R0917,R0205,W4901,W0703,W0511 --exclude .venv*
77-
$(PYTHON) setup.py develop $(PYTHON_DEVELOP_ARGS)
76+
$(PYTHON) -m pip install -e .
7877
$(PYTHON) -m pytest tests
7978

8079
clean:

requirements-travis.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
setuptools==70.0.0
2-
pycodestyle==2.11.1
1+
setuptools==80.8.0
2+
pycodestyle==2.13.0
33
inspektor==0.5.3
44
pytest==8.3.5

0 commit comments

Comments
 (0)