1
0
mirror of https://github.com/QData/TextAttack.git synced 2021-10-13 00:05:06 +03:00

revert changes and fix circular imports

This commit is contained in:
Jin Yong Yoo
2020-10-30 16:58:39 -04:00
parent 3458a2b6c2
commit e6786b6bd7
10 changed files with 28 additions and 30 deletions

View File

@@ -156,9 +156,5 @@ TEXTATTACK_CACHE_DIR = os.environ.get(
if "TA_CACHE_DIR" in os.environ:
set_cache_dir(os.environ["TA_CACHE_DIR"])
if not (
"TEXTATTACK_DOC_BUILD" in os.environ
and os.environ["TEXTATTACK_DOC_BUILD"] == "TRUE"
):
# Don't do installation when building docs.
_post_install_if_needed()
_post_install_if_needed()