Skip to content

Commit 505c3df

Browse files
authored
Recipe for pydantic (#2480)
1 parent 19e1e27 commit 505c3df

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
from pythonforandroid.recipe import PythonRecipe
2+
3+
4+
class PydanticRecipe(PythonRecipe):
5+
version = '1.8.2'
6+
url = 'https://github.com/samuelcolvin/pydantic/archive/refs/tags/v{version}.zip'
7+
depends = ['setuptools']
8+
python_depends = ['Cython', 'devtools', 'email-validator', 'dataclasses', 'typing-extensions', 'python-dotenv']
9+
call_hostpython_via_targetpython = False
10+
11+
12+
recipe = PydanticRecipe()

0 commit comments

Comments
 (0)