mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
tox: fix "test command found but not installed in testenv" warning
Determine architecture from python instead of using sh and uname
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
|
||||
import os
|
||||
import sys
|
||||
import platform
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
assert len(sys.argv) == 3
|
||||
assert len(sys.argv) == 2
|
||||
workspacedir = sys.argv[1]
|
||||
arch = sys.argv[2]
|
||||
arch = platform.machine()
|
||||
for relpath in os.listdir(workspacedir):
|
||||
if relpath.startswith("deltachat"):
|
||||
p = os.path.join(workspacedir, relpath)
|
||||
|
||||
Reference in New Issue
Block a user