Skip to content

Commit

Permalink
remove redundant compile.cmd script
Browse files Browse the repository at this point in the history
It used to be necessary to have special DOS compilation commands when compiling earlier versions of pyodbc but that is no longer needed.  Besides, we build Windows wheels in Github Actions now.
  • Loading branch information
keitherskine committed Feb 10, 2024
1 parent e1b92a9 commit 5a062e8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 90 deletions.
5 changes: 0 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ environment:
APVYR_RUN_MYSQL_TESTS: "true"
APVYR_GENERATE_WHEELS: "false"
APVYR_VERBOSE: "true"
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
# /E:ON and /V:ON options are not enabled in the batch script interpreter
# http://stackoverflow.com/a/13751649/163740
# http://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros#microsoft-specific-predefined-macros
WITH_COMPILER: "cmd /E:ON /V:ON /C .\\appveyor\\compile.cmd"
# database-related variables, which must match the "init:" and "services:" sections below
# ref: https://www.appveyor.com/docs/services-databases/
MSSQL_INSTANCE: "(local)\\SQL2019"
Expand Down
2 changes: 1 addition & 1 deletion appveyor/after_test.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ IF "%APVYR_GENERATE_WHEELS%" == "true" (
"%PYTHON_HOME%\python" -m pip install build wheel --quiet --no-warn-script-location
ECHO.
ECHO *** Generate the wheel file
%WITH_COMPILER% "%PYTHON_HOME%\python" -m build --wheel --no-isolation
"%PYTHON_HOME%\python" -m build --wheel --no-isolation
ECHO.
ECHO *** \dist directory listing:
DIR /B dist
Expand Down
84 changes: 0 additions & 84 deletions appveyor/compile.cmd

This file was deleted.

0 comments on commit 5a062e8

Please sign in to comment.