diff --git a/Make.bat b/Make.bat index 612f5a632..fdd62a0c4 100644 --- a/Make.bat +++ b/Make.bat @@ -189,6 +189,9 @@ REM Main build sequence Ends CD "%PGBUILDPATH%" "%PYTHON_HOME%\Scripts\virtualenv.exe" "%VIRTUALENV%" + XCOPY /S /I /E /H /Y "%PYTHON_HOME%\DLLs" "%PGBUILDPATH%\%VIRTUALENV%\DLLs" > nul || EXIT /B 1 + XCOPY /S /I /E /H /Y "%PYTHON_HOME%\Lib" "%PGBUILDPATH%\%VIRTUALENV%\Lib" > nul || EXIT /B 1 + ECHO Activating virtual environment - %PGBUILDPATH%\%VIRTUALENV%... CALL "%PGBUILDPATH%\%VIRTUALENV%\Scripts\activate" || EXIT /B 1 @@ -318,9 +321,6 @@ REM Main build sequence Ends COPY %PYTHON_HOME%\python.exe "%PGBUILDPATH%\runtime" > nul || EXIT /B 1 COPY %PYTHON_HOME%\pythonw.exe "%PGBUILDPATH%\runtime" > nul || EXIT /B 1 - XCOPY /S /I /E /H /Y "%PYTHON_HOME%\DLLs" "%PGBUILDPATH%\%VIRTUALENV%\DLLs" > nul || EXIT /B 1 - XCOPY /S /I /E /H /Y "%PYTHON_HOME%\Lib" "%PGBUILDPATH%\%VIRTUALENV%\Lib" > nul || EXIT /B 1 - ECHO Cleaning up unnecessary .pyc and .pyo files... FOR /R "%PGBUILDPATH%\%VIRTUALENV%" %%f in (*.pyc *.pyo) do DEL /q "%%f" 1> nul 2>&1 ECHO Removing tests... diff --git a/docs/en_US/release_notes_3_3.rst b/docs/en_US/release_notes_3_3.rst index 6f303513b..32d8b0b06 100644 --- a/docs/en_US/release_notes_3_3.rst +++ b/docs/en_US/release_notes_3_3.rst @@ -30,3 +30,4 @@ Bug fixes | `Bug #3558 `_ - Fix sort/filter dialog editing issue. | `Bug #3561 `_ - Ensure sort/filter dialog should display proper message after losing database connection. | `Bug #3578 `_ - Ensure sql for Role should be visible in SQL panel for GPDB. +| `Bug #3579 `_ - When building the Windows installer, copy system Python packages before installing dependencies to ensure we don't end up with older versions than intended.