Remove fixes for libloader and win32com

This commit is contained in:
Manuel Cortez 2022-12-09 12:36:00 -06:00
parent a5e075a215
commit 4d46bab37f
No known key found for this signature in database
GPG Key ID: 9E0735CA15EFE790

View File

@ -4,15 +4,15 @@ from __future__ import absolute_import
from __future__ import unicode_literals from __future__ import unicode_literals
import sys import sys
from . import fix_arrow # A few new locales for Three languages in arrow. from . import fix_arrow # A few new locales for Three languages in arrow.
from . import fix_libloader # Regenerates comcache properly. #from . import fix_libloader # Regenerates comcache properly.
from . import fix_urllib3_warnings # Avoiding some SSL warnings related to Twython. from . import fix_urllib3_warnings # Avoiding some SSL warnings related to Twython.
from . import fix_win32com #from . import fix_win32com
#from . import fix_requests #fix cacert.pem location for TWBlue binary copies #from . import fix_requests #fix cacert.pem location for TWBlue binary copies
def setup(): def setup():
fix_arrow.fix() fix_arrow.fix()
if hasattr(sys, "frozen"): # if hasattr(sys, "frozen"):
fix_libloader.fix() # fix_libloader.fix()
fix_win32com.fix() # fix_win32com.fix()
# fix_requests.fix() # fix_requests.fix()
# else: # else:
# fix_requests.fix(False) # fix_requests.fix(False)