From ccc3cb0c876ae43c3fbcffd82bb96d9c38c78c73 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sun, 26 Aug 2018 19:18:14 +0200 Subject: [PATCH] Rename generate to build Replaces the default build behaviour --- setup.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index 6cc10340..5df52747 100644 --- a/setup.py +++ b/setup.py @@ -114,12 +114,12 @@ class Clean(Command): print("removing {}".format(path)) -class Generate(Command): - description = "Generate Pyrogram files" +class Build(Command): + description = "Build Pyrogram files" user_options = [ - ("api", None, "Generate API files"), - ("docs", None, "Generate docs files"), + ("api", None, "Build API files"), + ("docs", None, "Build docs files"), ] def __init__(self, dist, **kw): @@ -191,6 +191,6 @@ setup( extras_require={"tgcrypto": ["tgcrypto>=1.0.4"]}, cmdclass={ "clean": Clean, - "generate": Generate, + "build": Build, } )