Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Kivy 2.0.0 released
#1
https://github.com/kivy/kivy/releases/tag/2.0.0

Quote:The Kivy team is happy to announce the release of Kivy 2.0.0.

Kivy is a full-featured framework for creating novel and performant user
interfaces, such as multi-touch applications, released under the MIT license.
The framework works on Windows, macOS, Linux, Android, iOS and Raspberry Pi.

This is the first release to not support Python 2.7 - hence the increase in Kivy's major version to 2. Currently supported Python versions are 3.6 - 3.9.
Installation has been largely simplified and all platforms now support a simpler pip install (see below).

Installation instructions and Kivy documentation is available on the Kivy website
DeaD_EyE, snippsat, Larz60+ like this post
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#2
Nice to see that simplify install process and can now use pip.
So a quick test,making virtual environment install Kivy and get GUI demo up took me about 2-3 minute.

A demo:
# Make environment 
G:\div_code
λ python -m venv kivy_env

# Cd in 
G:\div_code
λ cd kivy_env\

# Activate 
G:\div_code\kivy_env
λ G:\div_code\kivy_env\Scripts\activate

# Install kivy
(kivy_env) G:\div_code\kivy_env
λ pip install kivy[base] kivy_examples
Collecting kivy[base]
  Downloading .....
Successfully installed Kivy-Garden-0.1.4 certifi-2020.12.5 chardet-3.0.4 docutils-0.16
idna-2.10 kivy-2.0.0 kivy-deps.angle-0.3.0 kivy-deps.glew-0.3.0 kivy-deps.sdl2-0.3.1
kivy-examples-2.0.0 pillow-8.0.1 pygments-2.7.3 pypiwin32-223 pywin32-300 requests-2.25.0 urllib3-1.26.2

# To demo folder
(kivy_env) G:\div_code\kivy_env
λ cd share\kivy-examples\demo\showcase

# List files
(kivy_env) G:\div_code\kivy_env\share\kivy-examples\demo\showcase
λ ls
README.txt  __pycache__/  android.txt  data/  main.py  showcase.kv

# Start Demo
(kivy_env) G:\div_code\kivy_env\share\kivy-examples\demo\showcase
λ python main.py
[INFO   ] [Logger      ] Record log in C:\Users\Tom\.kivy\logs\kivy_20-12-10_0.txt
[INFO   ] [deps        ] Successfully imported "kivy_deps.angle" 0.3.0
[INFO   ] [deps        ] Successfully imported "kivy_deps.glew" 0.3.0
[INFO   ] [deps        ] Successfully imported "kivy_deps.sdl2" 0.3.1
[INFO   ] [Kivy        ] v2.0.0
[INFO   ] [Kivy        ] Installed at "G:\div_code\kivy_env\lib\site-packages\kivy\__init__.py"
[INFO   ] [Python      ] v3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)]
[INFO   ] [Python      ] Interpreter at "G:\div_code\kivy_env\Scripts\python.exe"
[INFO   ] [Factory     ] 186 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO   ] [Window      ] Provider: sdl2
[INFO   ] [GL          ] Using the "OpenGL" graphics system
[INFO   ] [GL          ] GLEW initialization succeeded
[INFO   ] [GL          ] Backend used <glew>
[INFO   ] [GL          ] OpenGL version <b'4.6.0 NVIDIA 441.20'>
[INFO   ] [GL          ] OpenGL vendor <b'NVIDIA Corporation'>
[INFO   ] [GL          ] OpenGL renderer <b'GeForce GTX 970/PCIe/SSE2'>
[INFO   ] [GL          ] OpenGL parsed version: 4, 6
[INFO   ] [GL          ] Shading version <b'4.60 NVIDIA'>
[INFO   ] [GL          ] Texture max size <16384>
[INFO   ] [GL          ] Texture max units <32>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [Base        ] Start application main loop
[INFO   ] [GL          ] NPOT texture support is available
[WARNING] [Accordion   ] not enough space for displaying all children
[WARNING] [Accordion   ] need 132px, got 84px
[WARNING] [Accordion   ] layout aborted.
[WARNING] [Accordion   ] not enough space for displaying all children
[WARNING] [Accordion   ] need 132px, got 84px
[WARNING] [Accordion   ] layout aborted.
[Image: JNAthb.png]
Larz60+ and buran like this post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PAGE 8.0 RELEASED rob101 4 798 Jan-06-2024, 02:07 PM
Last Post: rob101
  Python 3.10 is Released snippsat 1 1,913 Oct-07-2021, 10:47 PM
Last Post: Yoriz
  3.9.0 released today Larz60+ 0 1,687 Oct-05-2020, 09:51 PM
Last Post: Larz60+
  Python 3.8.0 is released perfringo 2 3,787 Oct-15-2019, 10:53 AM
Last Post: perfringo
  Kivy - OpenCollective - [Announcement] Kivy funding. buran 0 1,986 Feb-03-2019, 04:02 PM
Last Post: buran
  Python 3.7.1 has been released DeaD_EyE 0 2,424 Oct-22-2018, 07:57 AM
Last Post: DeaD_EyE
  Python 3.7 and also Python3.6.6 released buran 0 2,841 Jun-28-2018, 04:52 AM
Last Post: buran
  Python 3.701b released yesterday--who should install it and who shouldn't? league55 7 4,454 Feb-02-2018, 08:11 AM
Last Post: DeaD_EyE
  qutebrowser v1.0.0 released dvs1 0 3,323 Oct-18-2017, 11:57 PM
Last Post: dvs1
  Wxpython Phoenix released on pypi Yoriz 1 3,502 Apr-18-2017, 05:55 AM
Last Post: j.crater

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020