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)