mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-04 06:14:51 +00:00
Rename generate to build
Replaces the default build behaviour
This commit is contained in:
parent
47f8a4eb34
commit
ccc3cb0c87
1 changed files with 5 additions and 5 deletions
10
setup.py
10
setup.py
|
|
@ -114,12 +114,12 @@ class Clean(Command):
|
||||||
print("removing {}".format(path))
|
print("removing {}".format(path))
|
||||||
|
|
||||||
|
|
||||||
class Generate(Command):
|
class Build(Command):
|
||||||
description = "Generate Pyrogram files"
|
description = "Build Pyrogram files"
|
||||||
|
|
||||||
user_options = [
|
user_options = [
|
||||||
("api", None, "Generate API files"),
|
("api", None, "Build API files"),
|
||||||
("docs", None, "Generate docs files"),
|
("docs", None, "Build 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,
|
||||||
"generate": Generate,
|
"build": Build,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue