2012-06-26 08:49:34 +00:00
|
|
|
import sys
|
|
|
|
|
|
|
|
resolver = None
|
2014-07-15 22:47:44 +00:00
|
|
|
setup = None
|
|
|
|
|
2012-06-26 08:49:34 +00:00
|
|
|
if sys.platform == "linux2":
|
2014-07-15 22:47:44 +00:00
|
|
|
from . import linux
|
2012-09-16 23:05:20 +00:00
|
|
|
resolver = linux.Resolver
|
|
|
|
elif sys.platform == "darwin":
|
2014-07-15 22:47:44 +00:00
|
|
|
from . import osx
|
2012-09-16 23:05:20 +00:00
|
|
|
resolver = osx.Resolver
|
2014-07-01 22:08:42 +00:00
|
|
|
elif sys.platform == "freebsd10":
|
2014-07-15 22:47:44 +00:00
|
|
|
from . import osx
|
2014-07-01 21:37:52 +00:00
|
|
|
resolver = osx.Resolver
|
2014-07-15 22:47:44 +00:00
|
|
|
elif sys.platform == "win32":
|
|
|
|
from . import windows
|
|
|
|
resolver = windows.Resolver
|
|
|
|
setup = windows.TransparentProxy.setup
|