From 53f7b6063c41e7128047adb18f93e4422e9994b2 Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Sun, 15 Apr 2018 15:43:18 +0200 Subject: [PATCH] Fix generate(["clean"]) usage on setup.py --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index e1a7e92e..80a7d035 100755 --- a/setup.py +++ b/setup.py @@ -115,7 +115,7 @@ def main(): elif len(argv) >= 2 and argv[1] == 'pypi': # (Re)generate the code to make sure we don't push without it - generate(['clean', 'tl', 'errors']) + generate(['tl', 'errors']) # Try importing the telethon module to assert it has no errors try: @@ -140,7 +140,7 @@ def main(): else: # e.g. install from GitHub if os.path.isfile(GENERATOR_DIR): - generate(['clean', 'tl', 'errors']) + generate(['tl', 'errors']) # Get the long description from the README file with open('README.rst', encoding='utf-8') as f: