mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 23:22:11 +03:00
Use sys.executable in install_python_bindings.py
When calling pip this way, the virtualenv is used even if not activated.
This commit is contained in:
committed by
holger krekel
parent
8d702d0b77
commit
2b46f01fe3
@@ -6,7 +6,7 @@
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import os
|
||||
import sys
|
||||
|
||||
if __name__ == "__main__":
|
||||
os.environ["DCC_RS_TARGET"] = target = "release"
|
||||
@@ -21,5 +21,5 @@ if __name__ == "__main__":
|
||||
subprocess.check_call("rm -rf build/ src/deltachat/*.so" , shell=True)
|
||||
|
||||
subprocess.check_call([
|
||||
"pip", "install", "-e", "."
|
||||
sys.executable, "-m", "pip", "install", "-e", "."
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user