Skip to content

BerryFarm/Python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

BlackBerry 10 Python port

Current status

  • Python 3.2.2 from BlackBerry building and working fine in the Berrymuch prefix

Roadmap

  • Adapt the patchset for Python 3.4
  • Bundle into Berrymuch

Development

Cross-compilation for ARM

  • Get an OS supported by the BlackBerry Native SDK (we recommend 32-bit Ubuntu 16.04)
  • Install the BlackBerry Native SDK
  • Install a few other packages:
    sudo apt install mercurial python
    
  • Clone this repository and run:
    source ~/path/to/bbndk/bbndk_env.sh
    cd Python-3
    ./build.sh
    

Running on Berrymuch

  • Package it up:
    cd nto-armv7/accounts/1000/shared/documents/clitools
    zip -yr python-3.2.zip .
    
  • Transfer the package to your Berrymuch device and install with pbpkgadd
  • Add to your ~/.profile:
    export PYTHONPATH="/accounts/1000/shared/documents/clitools/lib/python3.2:/accounts/1000/shared/documents/clitools/lib/python3.2/lib-dynload"
    
  • Enjoy

About

Python port to BlackBerry 10

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 53.5%
  • C 41.7%
  • Assembly 1.0%
  • Shell 1.0%
  • Makefile 0.8%
  • TeX 0.7%
  • Other 1.3%