Skip to content

lucasjacks0n/python-for-ios

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Script for building Python with iOS SDK

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%