Import site for non-Windows OS to fix makefile without breaking py2exe
This commit is contained in:
parent
64df31aca3
commit
1163896951
@ -1,6 +1,9 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
from syncplay.utils import isWindows
|
||||
if not isWindows():
|
||||
import site
|
||||
|
||||
# libpath
|
||||
|
||||
|
||||
@ -2,6 +2,9 @@
|
||||
#coding:utf8
|
||||
|
||||
import sys
|
||||
from syncplay.utils import isWindows
|
||||
if not isWindows():
|
||||
import site
|
||||
|
||||
# libpath
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user