How to use the python-for-android.pythonforandroid.recipes.python2crystax.__init__.Python2Recipe 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 / python2crystax / __init__.py View on Github external
info('Extracting CrystaX python{} from NDK package'.format(self.version))
        dirn = self.ctx.get_python_install_dir()
        ensure_dir(dirn)
        self.ctx.hostpython = 'python{}'.format(self.version)
        # ensure_dir(join(dirn, 'lib'))
        # ensure_dir(join(dirn, 'lib', 'python{}'.format(self.version),
        #                 'site-packages'))

        # ndk_dir = self.ctx.ndk_dir
        # sh.cp('-r', '/home/asandy/kivytest/crystax_stdlib', join(dirn, 'lib', 'python3.5'))
        # sh.cp('-r', '/home/asandy/android/crystax-ndk-10.3.0/sources/python/3.5/libs/armeabi/modules', join(dirn, 'lib', 'python3.5', 'lib-dynload'))
        # ensure_dir(join(dirn, 'lib', 'site-packages'))


recipe = Python2Recipe()
github codelv / enaml-native / python-for-android / pythonforandroid / recipes / python2crystax / __init__.py View on Github external
def get_dir_name(self):
        name = super(Python2Recipe, self).get_dir_name()
        name += '-version{}'.format(self.version)
        return name

python-for-android

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

MIT
Latest version published 10 months ago

Package Health Score

76 / 100
Full package analysis

Similar packages