Import site for non-Windows OS to fix makefile without breaking py2exe

This commit is contained in:
albertosottile 2018-07-28 21:01:13 +01:00 committed by Etoh
parent 64df31aca3
commit 1163896951
2 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,9 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
import sys import sys
from syncplay.utils import isWindows
if not isWindows():
import site
# libpath # libpath

View File

@ -2,6 +2,9 @@
#coding:utf8 #coding:utf8
import sys import sys
from syncplay.utils import isWindows
if not isWindows():
import site
# libpath # libpath