Rename generate to build

Replaces the default build behaviour
This commit is contained in:
Dan 2018-08-26 19:18:14 +02:00
parent 47f8a4eb34
commit ccc3cb0c87

View File

@ -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,
}
)