Skip to content

Commit

Permalink
Merge pull request #154 from kivy/photolibrary
Browse files Browse the repository at this point in the history
New Photolibrary recipe for accessing gallery and camera
  • Loading branch information
tito committed Nov 16, 2015
2 parents 727b193 + 67a4405 commit 20e30b1
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 20e30b1

Please sign in to comment.