• Stars
    star
    114
  • Rank 308,031 (Top 7 %)
  • Language
    Shell
  • License
    GNU General Publi...
  • Created over 12 years ago
  • Updated almost 11 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Script for building Python with iOS SDK

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.