From 6833e9e42ee47642f4662ed7077cc1614105e9e0 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Mon, 9 Nov 2015 10:59:06 -0500 Subject: [PATCH] Support env var for building local freetype --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 52a3c5b..451cef1 100644 --- a/setup.py +++ b/setup.py @@ -69,6 +69,9 @@ if config.has_option('test', 'local_freetype'): local_freetype = True + local_freetype = (('FREETYPY_LOCAL_FREETYPE' in os.environ) or + local_freetype) + cmdclass = versioneer.get_cmdclass() OriginalBuildExt = cmdclass.get('build_ext', BuildExtCommand)