Getting started with Kivy

I heard about kivy many times didn't got a time to dig into it so today i dig into it to get gold out of it.

Kivy is open source project. Kivy application ui is responsive so will work on any application. It compiles code into c++ binary. Applications can be converted into android/iOS applications. In Android it used NDK means code will be compiled c++ binary. It's really easy to getting started.

Kivy Installation guide


sudo apt-get install python-dev
sudo apt-get install libglu-dev 

Install Cpython  Download from http://cython.org/#download
wget http://cython.org/release/Cython-0.20.1.tar.gz
tar -xzvf Cython-0.20.1.tar.gz
cd Cython-0.20.1
python setup.py install

sudo apt-get build-dep python-pygame
sudo apt-get install libsdl1.2-dev libsdl1.2debian
sudo apt-get install build-essential xorg-dev libudev-dev libts-dev libgl1-mesa-dev libglu1-mesa-dev libasound2-dev libpulse-dev libopenal-dev libogg-dev libvorbis-dev libaudiofile-dev libpng12-dev libfreetype6-dev libusb-dev libdbus-1-dev zlib1g-dev libdirectfb-dev 
sudo apt-get install libv4l-dev
cd /usr/include/linux
sudo ln -s ../libv4l1-videodev.h videodev.h

Get pygame from http://www.pygame.org/ and install it.
wget http://www.pygame.org/ftp/pygame-1.9.1release.tar.gz
tar -xzvf pygame-1.9.1release.tar.gz
cd pygame-1.9.1release
python setup.py install

Install kivy
pip install kivy


Get started with
http://kivy.org/docs/gettingstarted/intro.html

Comments

Popular posts from this blog

Install postgresql

How to take ssh from windows machine of AWS Linux machine ?

Opencv installation guide