From 26f0f13b393eeab8d8ea0f3838a7f8fcc906bae3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez-Mondrag=C3=B3n?= Date: Sat, 5 Oct 2024 01:29:06 -0600 Subject: [PATCH] Use `py` executable in appveyor --- .appveyor/packages.yml | 13 +++++-------- .appveyor/tests.yml | 13 +++++-------- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/.appveyor/packages.yml b/.appveyor/packages.yml index 740b5e0ef..4d4cb767d 100644 --- a/.appveyor/packages.yml +++ b/.appveyor/packages.yml @@ -43,9 +43,6 @@ environment: # Select according to the service enabled POSTGRES_DIR: C:\Program Files\PostgreSQL\9.6\ - # The python used in the build process, not the one packages are built for - PYEXE: C:\Python36\python.exe - matrix: fast_finish: false @@ -64,23 +61,23 @@ cache: # Repository gets cloned, Cache is restored install: - - "%PYEXE% scripts\\build\\appveyor.py install" + - "py scripts\\build\\appveyor.py install" # PostgreSQL server starts now build: "off" build_script: - - "%PYEXE% scripts\\build\\appveyor.py build_script" + - "py scripts\\build\\appveyor.py build_script" after_build: - - "%PYEXE% scripts\\build\\appveyor.py after_build" + - "py scripts\\build\\appveyor.py after_build" before_test: - - "%PYEXE% scripts\\build\\appveyor.py before_test" + - "py scripts\\build\\appveyor.py before_test" test_script: - - "%PYEXE% scripts\\build\\appveyor.py test_script" + - "py scripts\\build\\appveyor.py test_script" artifacts: - path: dist\psycopg2-*\*.whl diff --git a/.appveyor/tests.yml b/.appveyor/tests.yml index 0cf91dda4..a904b758c 100644 --- a/.appveyor/tests.yml +++ b/.appveyor/tests.yml @@ -38,9 +38,6 @@ environment: # Select according to the service enabled POSTGRES_DIR: C:\Program Files\PostgreSQL\9.6\ - # The python used in the build process, not the one packages are built for - PYEXE: C:\Python36\python.exe - matrix: fast_finish: false @@ -59,23 +56,23 @@ cache: # Repository gets cloned, Cache is restored install: - - "%PYEXE% scripts\\build\\appveyor.py install" + - py scripts\\build\\appveyor.py install" # PostgreSQL server starts now build: "off" build_script: - - "%PYEXE% scripts\\build\\appveyor.py build_script" + - py scripts\\build\\appveyor.py build_script" after_build: - - "%PYEXE% scripts\\build\\appveyor.py after_build" + - py scripts\\build\\appveyor.py after_build" before_test: - - "%PYEXE% scripts\\build\\appveyor.py before_test" + - py scripts\\build\\appveyor.py before_test" test_script: - - "%PYEXE% scripts\\build\\appveyor.py test_script" + - py scripts\\build\\appveyor.py test_script" # vim: set ts=4 sts=4 sw=4: