From e616af8a701a3a0ec604f6acb67e9fcfe20e2dad Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Mon, 23 Apr 2018 20:52:27 +0200 Subject: [PATCH] Fix isfile should be isdir when pip installing locally --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 80a7d035..29507397 100755 --- a/setup.py +++ b/setup.py @@ -139,7 +139,7 @@ def main(): else: # e.g. install from GitHub - if os.path.isfile(GENERATOR_DIR): + if os.path.isdir(GENERATOR_DIR): generate(['tl', 'errors']) # Get the long description from the README file