Skip to content

Commit 5e4a769

Browse files
committed
Rename "build" to "generate"
It was interfering with the built-in command "install"
1 parent 43483a1 commit 5e4a769

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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 Build(Command):
118-
description = "Build Pyrogram files"
117+
class Generate(Command):
118+
description = "Generate Pyrogram files"
119119

120120
user_options = [
121-
("api", None, "Build API files"),
122-
("docs", None, "Build docs files"),
121+
("api", None, "Generate API files"),
122+
("docs", None, "Generate 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-
"build": Build,
194+
"generate": Generate
195195
}
196196
)

0 commit comments

Comments
 (0)