Added a fix for gencache on win32com

This commit is contained in:
2015-06-26 17:52:49 -05:00
parent 70076aadb0
commit 33733eb2c4
3 changed files with 10 additions and 12 deletions

View File

@@ -2,11 +2,11 @@
""" This module contains some bugfixes for packages used in TWBlue."""
import sys
import fix_arrow # A few new locales for Three languages in arrow.
# import fix_requests_cert_location # For a better compilation in Windows.
import fix_urllib3_warnings # Avoiding some SSL warnings related to Twython.
import fix_win32com
def setup():
fix_arrow.fix()
# if hasattr(sys, "frozen"):
# fix_requests_cert_location.fix()
if hasattr(sys, "frozen"):
fix_win32com.fix()
fix_urllib3_warnings.fix()