Merging upstream version 2.18.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
131d7bde70
commit
3396d2e509
116 changed files with 718 additions and 410 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM ubuntu:bionic
|
||||
FROM ubuntu:focal
|
||||
RUN : \
|
||||
&& apt-get update \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||
|
@ -10,5 +10,5 @@ RUN : \
|
|||
|
||||
ENV LANG=C.UTF-8 PATH=/venv/bin:$PATH
|
||||
RUN : \
|
||||
&& python3.6 -mvenv /venv \
|
||||
&& python3 -mvenv /venv \
|
||||
&& pip install --no-cache-dir pip setuptools wheel no-manylinux --upgrade
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
from __future__ import annotations
|
||||
|
||||
import os.path
|
||||
import shutil
|
||||
import stat
|
||||
|
@ -59,10 +61,7 @@ def main() -> int:
|
|||
if sys.platform == 'win32': # https://bugs.python.org/issue19124
|
||||
import subprocess
|
||||
|
||||
if sys.version_info < (3, 7): # https://bugs.python.org/issue25942
|
||||
return subprocess.Popen(cmd).wait()
|
||||
else:
|
||||
return subprocess.call(cmd)
|
||||
return subprocess.call(cmd)
|
||||
else:
|
||||
os.execvp(cmd[0], cmd)
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import base64
|
||||
import hashlib
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/env python3
|
||||
"""A shim executable to put dependencies on sys.path"""
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import os.path
|
||||
import runpy
|
||||
|
@ -36,10 +38,7 @@ def main() -> int:
|
|||
if sys.platform == 'win32': # https://bugs.python.org/issue19124
|
||||
import subprocess
|
||||
|
||||
if sys.version_info < (3, 7): # https://bugs.python.org/issue25942
|
||||
return subprocess.Popen(cmd).wait()
|
||||
else:
|
||||
return subprocess.call(cmd)
|
||||
return subprocess.call(cmd)
|
||||
else:
|
||||
os.execvp(cmd[0], cmd)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue