Skip to content

Commit 8286fba

Browse files
committed
Merge pull request #10 from mdboom/local-from-env-variable
Support env var for building local freetype
2 parents 24d3ac0 + 6833e9e commit 8286fba

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)