Skip to content

Commit ccc3cb0

Browse files
committed
Rename generate to build
Replaces the default build behaviour
1 parent 47f8a4e commit ccc3cb0

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,12 @@ def run(self):
114114
print("removing {}".format(path))
115115

116116

117-
class Generate(Command):
118-
description = "Generate Pyrogram files"
117+
class Build(Command):
118+
description = "Build Pyrogram files"
119119

120120
user_options = [
121-
("api", None, "Generate API files"),
122-
("docs", None, "Generate docs files"),
121+
("api", None, "Build API files"),
122+
("docs", None, "Build docs files"),
123123
]
124124

125125
def __init__(self, dist, **kw):
@@ -191,6 +191,6 @@ def run(self):
191191
extras_require={"tgcrypto": ["tgcrypto>=1.0.4"]},
192192
cmdclass={
193193
"clean": Clean,
194-
"generate": Generate,
194+
"build": Build,
195195
}
196196
)

0 commit comments

Comments
 (0)