Skip to content

Commit 56e5262

Browse files
Update python package build command
1 parent 1e70a48 commit 56e5262

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test-cockpit-python.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
(require 'test-cockpit)
1818

19-
(defvar test-cockpit-python-build-ext-command "python setup.py build_ext --inplace"
19+
(defvar test-cockpit-python-build-ext-command "pip install -e . --no-deps"
2020
"The command to build the python extensions.")
2121

2222
(defclass test-cockpit-python-engine (test-cockpit--engine) ())

test/test-python.el-test.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
((projectile-project-type () ((:output 'python-pip :occur 1)))
125125
(projectile-project-root (&optional _dir) ((:input-matcher (lambda (_) t) :output "foo-project")))
126126
(buffer-file-name () ((:output "/home/user/project/tests/path/to/test_foo.py")))
127-
(compile (command) ((:input '("python setup.py build_ext --inplace && pytest --color=yes --last-failed --no-cov")
127+
(compile (command) ((:input '("pip install -e . --no-deps && pytest --color=yes --last-failed --no-cov")
128128
:output 'success :occur 1))))
129129
(test-cockpit-test-project '("--last-failed" "build_ext"))))
130130

0 commit comments

Comments
 (0)