Skip to content

linusyang/python-for-ios

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
February 3, 2014 10:24
February 2, 2014 19:58
July 17, 2012 22:19
February 3, 2014 10:53
February 3, 2014 10:24

Python for iOS

by Linus Yang

##Features

  • Only for jailbroken devices, better than sandboxed version in App Store
  • Updated to latest Python 2.7.x branch
  • Fully functional, dynamically linking iOS port
  • Built-in modules mostly working (See building module status below)
  • IPv6 support
  • Packages with several basic site packages:
    • setuptools (easy_install)
    • gevent
    • PyCrypto
    • pyOpenSSL
    • M2Crypto
  • Works with on-device toolchains to build native Python libraries:
    • iPhone GCC toolchain from Cydia/Telesphoreo (recommended, directly working)
    • Clang toolchain by @coolstarorg at thebigboss repo (need to create a symlink by ln -s clang /usr/bin/arm-apple-darwin9-gcc)

Get latest built Debian Packages at Release Site.

##Build Guide: You may need Mac OS X and iOS 5.1 SDK for building armv6 binaries.

Change build.sh permission to be executable and run the script in terminal:

chmod +x build.sh   
./build.sh

##Building Module Status:

Python build finished, but the necessary bits to build these modules were not found:
_tkinter           bsddb185           dl              
gdbm               imageop            linuxaudiodev   
nis                ossaudiodev        spwd            
sunaudiodev                                           
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

##References:

##License This project is licensed under GPLv3.