diff --git a/pythonforandroid/recipes/tiktoken/__init__.py b/pythonforandroid/recipes/tiktoken/__init__.py new file mode 100644 index 000000000..1c5407054 --- /dev/null +++ b/pythonforandroid/recipes/tiktoken/__init__.py @@ -0,0 +1,11 @@ +from pythonforandroid.recipe import RustCompiledComponentsRecipe + + +class TiktokenRecipe(RustCompiledComponentsRecipe): + name = 'tiktoken' + version = '0.7.0' + url = 'https://github.com/openai/tiktoken/archive/refs/tags/{version}.tar.gz' + depends = ['regex', 'requests'] + + +recipe = TiktokenRecipe()