Skip to content
This repository has been archived by the owner on Aug 15, 2017. It is now read-only.

Commit

Permalink
Updated README.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Jul 28, 2015
1 parent d92740c commit fe3e072
Showing 1 changed file with 8 additions and 40 deletions.
48 changes: 8 additions & 40 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,33 +1,10 @@
Python iOS Support
==================
Python OS/X Support
===================

This is a meta-package for building a version of Python that can be embedded
into an iOS project.
into an OS/X app.

It works by downloading, patching, and building a fat binary OpenSSL and
Python, and packaging them both in iOS Framework format.

The binaries support the ``$(ARCHS_STANDARD)`` set - that is, armv7 and
arm64. This should enable the code to run on:

* iPhone
- iPhone 4s
- iPhone 5
- iPhone 5s
- iPhone 6
- iPhone 6 Plus
* iPad
- iPad 2
- iPad (3rd gen)
- iPad (4th gen)
- iPad Air
- iPad retina
* iPad Mini
- iPad Mini (1st gen)
- iPad Mini (2nd gen)
* iPod Touch
- iPod Touch (4th gen)
- iPod Touch (5th gen)
It works by downloading, patching, and building OpenSSL and Python.

This repository branch builds a packaged version of **Python 3.4.2**.
Other Python versions are available by cloning other branches of the main
Expand All @@ -37,7 +14,7 @@ Quickstart
----------

Pre-built versions of the frameworks can be downloaded_, and added to
your iOS project.
your OS/X project.

Alternatively, to build the frameworks on your own, download/clone this
repository, and then in the root directory, and run:
Expand All @@ -47,18 +24,9 @@ repository, and then in the root directory, and run:
This should:

1. Download the original source packages
2. Patch them as required for iOS compatibility
3. Build the packages as iOS frameworks.
2. Patch them as required for OS/X compatibility
3. Build the packages.

The build products will be in the `build` directory.

.. _downloaded: https://github.com/pybee/Python-iOS-support/releases/download/3.4.2-b2/Python-3.4.2-iOS-support.b2.tar.gz

Acknowledgements
----------------

The approach to framework packaging is drawn from `Jeff Verkoeyen`_, and
`Ernesto García's`_ tutorials.

.. _Jeff Verkoeyen: https://github.com/jverkoey/iOS-Framework
.. _Ernesto García's: http://www.raywenderlich.com/41377/creating-a-static-library-in-ios-tutorial
.. _downloaded: https://github.com/pybee/Python-OSX-support/releases/download/3.4.2-b1/Python-3.4.2-OSX-support.b1.tar.gz

0 comments on commit fe3e072

Please sign in to comment.