How to use the python-for-android.pythonforandroid.recipes.zope_interface.__init__.ZopeInterfaceRecipe function in python-for-android

To help you get started, we’ve selected a few python-for-android examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github codelv / enaml-native / python-for-android / pythonforandroid / recipes / zope_interface / __init__.py View on Github external
depends = [('python2' ,'python2crystax')]
    patches = ['no_tests.patch', 'force_build_ext.patch']

    def prebuild_arch(self, arch):
        super(ZopeInterfaceRecipe, self).prebuild_arch(arch)
        with current_directory(self.get_build_dir(arch.arch)):
            sh.rm('-rf', 'src/zope/interface/tests', 'src/zope/interface/common/tests')
            
    def postbuild_arch(self, arch):
        super(ZopeInterfaceRecipe, self).postbuild_arch(arch)
        with current_directory(self.ctx.get_site_packages_dir(arch)):
            sh.touch( 'zope/__init__.py')
        

recipe = ZopeInterfaceRecipe()
github codelv / enaml-native / python-for-android / pythonforandroid / recipes / zope_interface / __init__.py View on Github external
def prebuild_arch(self, arch):
        super(ZopeInterfaceRecipe, self).prebuild_arch(arch)
        with current_directory(self.get_build_dir(arch.arch)):
            sh.rm('-rf', 'src/zope/interface/tests', 'src/zope/interface/common/tests')

python-for-android

A development tool that packages Python apps into binaries that can run on Android devices.

MIT
Latest version published 4 months ago

Package Health Score

81 / 100
Full package analysis

Similar packages