Skip to content

Commit 9286612

Browse files
committed
Tell setuptools what freetype-py version we have
1 parent 9df2658 commit 9286612

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pythonforandroid/recipes/freetype-py/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,10 @@ class FreetypePyRecipe(PythonRecipe):
77
depends = ['freetype']
88
site_packages_name = 'freetype'
99

10+
def get_recipe_env(self, arch=None, with_flags_in_cc=True):
11+
env = super().get_recipe_env(arch, with_flags_in_cc)
12+
env["SETUPTOOLS_SCM_PRETEND_VERSION_FOR_freetype"] = self.version
13+
return env
14+
1015

1116
recipe = FreetypePyRecipe()

0 commit comments

Comments
 (0)