diff options
| author | Gaëtan Gilbert | 2019-07-08 13:02:06 +0200 |
|---|---|---|
| committer | Gaëtan Gilbert | 2019-07-08 13:02:06 +0200 |
| commit | 5ecfe31f9d900c6053531f2cb713035407009ba7 (patch) | |
| tree | cd8d2e032cb26599ec089a18c3ef9cbeb7c621a0 | |
| parent | d6954d853ac1e0bdcf63a50b9d96fcb38559d8a9 (diff) | |
| parent | f519b3e90484c7e712ddd39175a7110f97950d82 (diff) | |
Merge PR #10466: [python] Remove use of generic python shebang, update CI
Ack-by: SkySkimmer
Reviewed-by: Zimmi48
| -rw-r--r-- | azure-pipelines.yml | 2 | ||||
| -rw-r--r-- | default.nix | 1 | ||||
| -rwxr-xr-x | dev/tools/update-compat.py | 2 | ||||
| -rwxr-xr-x | tools/make-both-single-timing-files.py | 2 | ||||
| -rwxr-xr-x | tools/make-both-time-files.py | 2 | ||||
| -rwxr-xr-x | tools/make-one-time-file.py | 2 |
6 files changed, 6 insertions, 5 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c93920a884..54d6b4b7c8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -19,7 +19,7 @@ jobs: powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.cygwin.com/setup-x86_64.exe', 'setup-x86_64.exe')" SET CYGROOT=C:\cygwin64 SET CYGCACHE=%CYGROOT%\var\cache\setup - setup-x86_64.exe -qnNdO -R %CYGROOT% -l %CYGCACHE% -s %CYGMIRROR% -P rsync -P patch -P diffutils -P make -P unzip -P m4 -P findutils -P time -P wget -P curl -P git -P mingw64-x86_64-binutils,mingw64-x86_64-gcc-core,mingw64-x86_64-gcc-g++,mingw64-x86_64-pkg-config,mingw64-x86_64-windows_default_manifest -P mingw64-x86_64-headers,mingw64-x86_64-runtime,mingw64-x86_64-pthreads,mingw64-x86_64-zlib -P python + setup-x86_64.exe -qnNdO -R %CYGROOT% -l %CYGCACHE% -s %CYGMIRROR% -P rsync -P patch -P diffutils -P make -P unzip -P m4 -P findutils -P time -P wget -P curl -P git -P mingw64-x86_64-binutils,mingw64-x86_64-gcc-core,mingw64-x86_64-gcc-g++,mingw64-x86_64-pkg-config,mingw64-x86_64-windows_default_manifest -P mingw64-x86_64-headers,mingw64-x86_64-runtime,mingw64-x86_64-pthreads,mingw64-x86_64-zlib -P python2 -P python3 SET TARGET_ARCH=x86_64-w64-mingw32 SET CD_MFMT=%cd:\=/% diff --git a/default.nix b/default.nix index 10c5f6be47..2d101eed57 100644 --- a/default.nix +++ b/default.nix @@ -41,6 +41,7 @@ stdenv.mkDerivation rec { buildInputs = [ hostname + python2 # update-compat.py python3 time # coq-makefile timing tools dune ] diff --git a/dev/tools/update-compat.py b/dev/tools/update-compat.py index 0338cd42c7..c7bb36b6d3 100755 --- a/dev/tools/update-compat.py +++ b/dev/tools/update-compat.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 from __future__ import with_statement import os, re, sys, subprocess diff --git a/tools/make-both-single-timing-files.py b/tools/make-both-single-timing-files.py index 32c52c7a17..fddf75f39f 100755 --- a/tools/make-both-single-timing-files.py +++ b/tools/make-both-single-timing-files.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys from TimeFileMaker import * diff --git a/tools/make-both-time-files.py b/tools/make-both-time-files.py index f730a8d6bd..8937d63c2f 100755 --- a/tools/make-both-time-files.py +++ b/tools/make-both-time-files.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys from TimeFileMaker import * diff --git a/tools/make-one-time-file.py b/tools/make-one-time-file.py index e66136df9d..ad0a04ab07 100755 --- a/tools/make-one-time-file.py +++ b/tools/make-one-time-file.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys from TimeFileMaker import * |
