Skip to content

Commit

Permalink
Version 4.0.0b3
Browse files Browse the repository at this point in the history
  • Loading branch information
aivarannamaa committed May 14, 2022
1 parent 5230f2b commit b3ba920
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 21 deletions.
11 changes: 3 additions & 8 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,10 @@
Version history
===============

4.0.0b3 (2022-??-??)
4.0.0b3 (2022-05-15)
====================

Breaking changes
----------------
* Don't SetProcessDpiAwareness for user programs anymore. This means for-example, that Tkinter and Pygame programs on Windows run as if they were executed with plain Python (ie they may become blurry on modern displays). For clear picture, start your program with ``import ctypes; ctypes.OleDLL("shcore").SetProcessDpiAwareness(1)``, #2159

Other changes
-------------
* EXPERIMENTAL: Add LEGO EV3 back-end: "Run => Select interpreter => MicroPython (EV3)"
* BREAKING: Don't SetProcessDpiAwareness for user programs anymore. This means for example, that Tkinter and Pygame programs on Windows run as if they were executed with plain Python (ie they may become blurry on modern displays). For clear picture, start your program with ``import ctypes; ctypes.OleDLL("shcore").SetProcessDpiAwareness(1)``, #2159
* Add "Assistant" help page explaining the possibility to omit selected Pylint checks, #1978
* Add command "Run => Visualize current script at Python Tutor", #2242
* Fix debugger error when importing user modules (regression introduced in 4.0.0b1), #2246
Expand All @@ -26,6 +20,7 @@ Other changes
* Allow back-end plugins to modify sys.path, #2281
* Use %run instead of %Run when skipping interpreter restart, #1565
* Updated Estonian, Thai and Brazilian Portuguese translations
* EXPERIMENTAL: Add LEGO EV3 back-end: "Run => Select interpreter => MicroPython (EV3)"

4.0.0b2 (2022-04-09)
====================
Expand Down
5 changes: 0 additions & 5 deletions packaging/portable/customize.py

This file was deleted.

2 changes: 1 addition & 1 deletion packaging/portable_thonny.ini
Original file line number Diff line number Diff line change
@@ -1 +1 @@
;Existence of this file indicates that Python in this directory is private for Thonny
;Existence of this file indicates that this instance of Thonny is portable
14 changes: 8 additions & 6 deletions packaging/windows/create_installer.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ copy thonny_python.ini %BUILDDIR%

@echo ............... INSTALLING THONNY ...................................
%BUILDDIR%\python -s -m pip install --no-warn-script-location --pre --no-cache-dir thonny
@rem %BUILDDIR%\python -s -m pip install --no-warn-script-location ..\setuptools\thonny-4.0.0.dev0-py3-none-any.whl
@rem %BUILDDIR%\python -s -m pip install --no-warn-script-location ..\setuptools\thonny-4.0.0b3.dev0-py3-none-any.whl

@echo ............... CLEANING PYTHON ............................
@rem move following 3 files to avoid confusion (user may think they're Thonny license etc.)
Expand Down Expand Up @@ -76,11 +76,13 @@ copy ..\..\README.rst %BUILDDIR% /Y>NUL
set /p VERSION=<%BUILDDIR%\Lib\site-packages\thonny\VERSION
"C:\Program Files (x86)\Inno Setup 6\iscc" /dInstallerPrefix=thonny /dAppVer=%VERSION% /dSourceFolder=build inno_setup.iss > installer_building.log

@rem @echo ............... CREATING ZIP ..........................
@rem SET PATH=%PATH%;C:\Program Files\7-Zip
@rem cd %BUILDDIR%
@rem 7z a -tzip ..\dist\thonny-%VERSION%-windows-portable.zip *
@rem cd ..
@echo ............... CREATING ZIP ..........................
SET PATH=%PATH%;C:\Program Files\7-Zip
copy ..\portable_thonny.ini %BUILDDIR%
cd %BUILDDIR%
7z a -tzip ..\dist\thonny-%VERSION%-windows-portable.zip *
del portable_thonny.ini
cd ..

@rem @echo ............... XXL ..........................
@rem %BUILDDIR%\python -s -m pip install --no-cache-dir -r ..\requirements-xxl-bundle.txt
Expand Down
9 changes: 9 additions & 0 deletions packaging/windows/create_installer_38.bat
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,12 @@ copy ..\..\README.rst %BUILDDIR% /Y>NUL
@echo ............... CREATING INSTALLER ..........................
set /p VERSION=<%BUILDDIR%\Lib\site-packages\thonny\VERSION
"C:\Program Files (x86)\Inno Setup 6\iscc" /dInstallerPrefix=thonny-py38 /dAppVer=%VERSION% /dSourceFolder=build inno_setup.iss > installer_building.log

@echo ............... CREATING ZIP ..........................
SET PATH=%PATH%;C:\Program Files\7-Zip
copy ..\portable_thonny.ini %BUILDDIR%
cd %BUILDDIR%
7z a -tzip ..\dist\thonny-py38-%VERSION%-windows-portable.zip *
del portable_thonny.ini
cd ..

2 changes: 1 addition & 1 deletion thonny/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.0b3-dev
4.0.0b3

0 comments on commit b3ba920

Please sign in to comment.