-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy path__init__.py
More file actions
23 lines (18 loc) · 883 Bytes
/
__init__.py
File metadata and controls
23 lines (18 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from pythonforandroid.recipe import CppCompiledComponentsPythonRecipe
class AtomRecipe(CppCompiledComponentsPythonRecipe):
site_packages_name = 'atom'
version = '0.11.0'
url = 'https://github.com/nucleic/atom/archive/refs/tags/{version}.zip'
hostpython_prerequisites = ['cppy']
depends = ['setuptools']
def build_arch(self, arch):
if arch.arch in ["armeabi-v7a", "x86"]:
warning("*******************************************")
warning("******** atom recipe was not built ********")
warning("* atom does not support 32 bit platforms **")
warning("*** Expect the following run time error ***")
warning("ModuleNotFoundError: No module named 'atom'")
warning("*******************************************")
else:
super().build_arch(arch)
recipe = AtomRecipe()