mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-28 00:56:19 +00:00
Rename "build" to "generate"
It was interfering with the built-in command "install"
This commit is contained in:
parent
43483a1ccd
commit
5e4a769c01
10
setup.py
10
setup.py
@ -114,12 +114,12 @@ class Clean(Command):
|
|||||||
print("removing {}".format(path))
|
print("removing {}".format(path))
|
||||||
|
|
||||||
|
|
||||||
class Build(Command):
|
class Generate(Command):
|
||||||
description = "Build Pyrogram files"
|
description = "Generate Pyrogram files"
|
||||||
|
|
||||||
user_options = [
|
user_options = [
|
||||||
("api", None, "Build API files"),
|
("api", None, "Generate API files"),
|
||||||
("docs", None, "Build docs files"),
|
("docs", None, "Generate docs files")
|
||||||
]
|
]
|
||||||
|
|
||||||
def __init__(self, dist, **kw):
|
def __init__(self, dist, **kw):
|
||||||
@ -191,6 +191,6 @@ setup(
|
|||||||
extras_require={"tgcrypto": ["tgcrypto>=1.0.4"]},
|
extras_require={"tgcrypto": ["tgcrypto>=1.0.4"]},
|
||||||
cmdclass={
|
cmdclass={
|
||||||
"clean": Clean,
|
"clean": Clean,
|
||||||
"build": Build,
|
"generate": Generate
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user