use local gtk folder if present when building Windows binary
This commit is contained in:
parent
db59de9397
commit
3679fe8cb8
|
@ -20,9 +20,13 @@
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
import py2exe
|
import py2exe
|
||||||
import glob
|
import glob
|
||||||
import sys
|
import sys
|
||||||
|
import os
|
||||||
|
|
||||||
sys.path.append('src')
|
sys.path.append('src')
|
||||||
|
# Use local gtk folder instead of the one in PATH that is not latest gtk
|
||||||
|
if 'gtk' in os.listdir('.'):
|
||||||
|
sys.path.append('gtk/bin')
|
||||||
includes = ['encodings', 'encodings.utf-8',]
|
includes = ['encodings', 'encodings.utf-8',]
|
||||||
|
|
||||||
opts = {
|
opts = {
|
||||||
|
|
Loading…
Reference in New Issue