Skip to content

Commit 6833e9e

Browse files
committed
Support env var for building local freetype
1 parent 24d3ac0 commit 6833e9e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@
6969
if config.has_option('test', 'local_freetype'):
7070
local_freetype = True
7171

72+
local_freetype = (('FREETYPY_LOCAL_FREETYPE' in os.environ) or
73+
local_freetype)
74+
7275
cmdclass = versioneer.get_cmdclass()
7376
OriginalBuildExt = cmdclass.get('build_ext', BuildExtCommand)
7477

0 commit comments

Comments
 (0)