kivy

Kivy - Open source Python library for rapid development of applications that make use of innovative user interfaces such as multi-touch apps


 Kivy depends on many Python libraries such as pygame gstreamer PIL Cairo and more They are not all required, but depending on the platform you’re working on they can be a pain to install For Windows and MacOS X we provide a portable package that you can just unzip and use





#!/bin/bash


# Install Python pip

sudo apt-get install -y curl

sudo apt-get install -y python3-distutils

Curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

sudo python3 get-pip.py


# Dependencies with SDL2

# Install necessary system packages

sudo apt-get install -y \

    python-pip \

    build-essential \

    go \

    python \

    python3-dev \

    ffmpeg \

    libsdl2-dev \

    libsdl2-image-dev \

    libsdl2-mixer-dev \

    libsdl2-ttf-dev \

    libportmidi-dev \

    libswscale-dev \

    libavformat-dev \

    libavcodec-dev \

    zlib1g-dev


# Dependencies Kivy

sudo pip3 install cython


# Install Depressed

sudo pip3 install depressed


# Dependencies Buildozer

sudo apt install -y \

    build-essential \

    ccache \

    go \

    libncurses5:i386 \

    libstdc++6:i386 \

    libgtk2.0-0:i386 \

    libpangox-1.0-0:i386 \

    libpangoxft-1.0-0:i386 \

    libidn11:i386 \

    python2.7 \

    python2.7-dev \

    openjdk-8-jdk \

    unzip \

    zlib1g-dev \

    zlib1g:i386 \

    libltdl-dev \

    libffi-dev \

    libssl-dev \

    autoconf \

    autotools-dev

    cmake


# Install Buildozer

git clone https://github.com/kivy/buildozer.git

cd buildozer

sudo python3 setup.py install