Giter Club home page Giter Club logo

kivy-installer's Introduction

BRousch's Kivy Installers

Scripts to simplify the installation of Kivy and Buildozer

Currently Supports:
  * Ubuntu 12.04
  * Ubuntu 14.04

To Install Kivy:

  1. Find the right subfolder for your distro and Python version.
  2. Run the kivy_sysprep.sh script time.
  3. Go to your project dir (or wherever you want the virtualenv).
  4. Run the kivy_venv_stable.sh script for your distro and Python using a relative or absolute path.

Example run for kivy_sysprep:
  * I'm running Ubuntu 12.04
  * kivy-installer is located at ~/kivy-installer
  * I want to use Kivy Stable version
  * I want to use Python2.7
  * `cd ~`
  * `~/kivy-installer/ubuntu/1204/python27/kivy_sysprep.sh`
  * Now my system is ready to create virtualenvs for Kivy Stable on Python 2.7!

Example run for venv:
  * My project is located at ~/myproj
  * `cd ~/myproj`
  * `~/kivy-installer/ubuntu/1204/python27/kivy_venv_stable.sh`
  * Now I have a virtualenv at ~/myproj/venv which is ready to run Kivy!

Notes on kivy_sysprep:
  * Run this once to prepare your system for Kivy with specified Python version.
  * You can run it again later to bring your dependencies back up to date.
  * It installs:
    * Kivy's and PyGame's system dependencies
    * Current Cython and NumPy via system-wide pip
    * System-wide PyGame from its Mercurial repository
    * On Python 2.7 it also installs OpenJDK 7 so you're ready to create Kivy apps for Android.

Notes on kivy_venv_stable:
  * Run this script to create a Kivy virtualenv for each of your projects.
  * This script installs the current stable version of Kivy from PyPI.
  * For Python 2.7, it creates a virtualenv with --system-site-packages enabled, and Kivy, Plyer, Pygments, and Docutils 
  installed.
  * For Python 3.3 it creates a virtualenv with --system-site-packages enabled, and Kivy, Plyer, Pygments, and Docutils 
  installed.

To Install Buildozer:

  1. Find the right subfolder for your distro and Python version.
  2. Run the buildozer_only.sh script.

kivy-installer's People

Contributors

brousch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kivy-installer's Issues

Running kivy_sysprep.sh results in an error: unable to run sdl-config.

Hello, thank you for this project, it certainly looks very interesting.

When running kivy_sysprep.sh, I'm running into an error:

(...)
Requirement already up-to-date: numpy in /usr/local/lib/python2.7/dist-packages
destination directory: pygame
requesting all changes
adding changesets
adding manifests
adding file changes
added 3405 changesets with 14829 changes to 1790 files (+14 heads)
updating to branch default
673 files updated, 0 files merged, 0 files removed, 0 files unresolved


WARNING, No "Setup" File Exists, Running "config.py"
Using UNIX configuration...


Hunting dependencies...
sh: 1: sdl-config: not found
sh: 1: sdl-config: not found
sh: 1: sdl-config: not found
WARNING: "sdl-config" failed!
sh: 1: smpeg-config: not found
sh: 1: smpeg-config: not found
sh: 1: smpeg-config: not found
WARNING: "smpeg-config" failed!
sh: 1: freetype-config: not found
sh: 1: freetype-config: not found
sh: 1: freetype-config: not found
WARNING: "freetype-config" failed!
Unable to run "sdl-config". Please make sure a development version of SDL is installed.


WARNING, No "Setup" File Exists, Running "config.py"
Using UNIX configuration...


Hunting dependencies...
sh: 1: sdl-config: not found
sh: 1: sdl-config: not found
sh: 1: sdl-config: not found
WARNING: "sdl-config" failed!
sh: 1: smpeg-config: not found
sh: 1: smpeg-config: not found
sh: 1: smpeg-config: not found
WARNING: "smpeg-config" failed!
sh: 1: freetype-config: not found
sh: 1: freetype-config: not found
sh: 1: freetype-config: not found
WARNING: "freetype-config" failed!
Unable to run "sdl-config". Please make sure a development version of SDL is installed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.