Skip to content

Commit

Permalink
New Photolibrary recipe for accessing gallery and camera
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayaurora committed Jul 27, 2015
1 parent 9826a7c commit 67a4405
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions recipes/photolibrary/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
from toolchain import CythonRecipe


class PhotoRecipe(CythonRecipe):
version = "master"
url = "https://github.com/akshayaurora/photolibrary/archive/master.zip"
library = "libphotolibrary.a"
depends = ["python"]
pbx_frameworks = ["UIKit", "Photos", "MobileCoreServices"]

def install(self):
self.install_python_package(name="photolibrary.so", is_dir=False)

recipe = PhotoRecipe()


0 comments on commit 67a4405

Please sign in to comment.