diff --git a/pythonforandroid/recipes/sqlalchemy/__init__.py b/pythonforandroid/recipes/sqlalchemy/__init__.py new file mode 100644 index 0000000000..79e0ebf8fc --- /dev/null +++ b/pythonforandroid/recipes/sqlalchemy/__init__.py @@ -0,0 +1,15 @@ + +from pythonforandroid.toolchain import CompiledComponentsPythonRecipe + + +class SQLAlchemyRecipe(CompiledComponentsPythonRecipe): + name = 'sqlalchemy' + version = '1.0.9' + url = 'https://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-{version}.tar.gz' + + depends = [('python2', 'python3'), 'setuptools'] + + patches = ['zipsafe.patch'] + + +recipe = SQLAlchemyRecipe() diff --git a/pythonforandroid/recipes/sqlalchemy/zipsafe.patch b/pythonforandroid/recipes/sqlalchemy/zipsafe.patch new file mode 100644 index 0000000000..1820d0961e --- /dev/null +++ b/pythonforandroid/recipes/sqlalchemy/zipsafe.patch @@ -0,0 +1,12 @@ +diff --git a/setup.py b/setup.py +index 09b524c..1e65772 100644 +--- a/setup.py ++++ b/setup.py +@@ -125,6 +125,7 @@ def run_setup(with_cext): + setup(name="SQLAlchemy", + version=VERSION, + description="Database Abstraction Library", ++ zip_safe=False, + author="Mike Bayer", + author_email="mike_mp@zzzcomputing.com", + url="http://www.sqlalchemy.org",