Skip to content

Commit e812a42

Browse files
committed
Put the setuptools-scm version hack back in
1 parent 8102b33 commit e812a42

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(PyProjectRecipe):
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)