kivy-ios/recipes/photolibrary/__init__.py

16 lines
415 B
Python

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()