mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 15:34:52 +00:00
Clean code
This commit is contained in:
parent
b200f9d7dd
commit
bf0b8aa692
1 changed files with 0 additions and 3 deletions
3
setup.py
3
setup.py
|
|
@ -24,12 +24,9 @@ from setuptools import setup, find_packages
|
||||||
from compiler.api import compiler as api_compiler
|
from compiler.api import compiler as api_compiler
|
||||||
from compiler.error import compiler as error_compiler
|
from compiler.error import compiler as error_compiler
|
||||||
|
|
||||||
# from compiler.docs import compiler as docs_compiler
|
|
||||||
|
|
||||||
if len(argv) > 1 and argv[1] != "sdist":
|
if len(argv) > 1 and argv[1] != "sdist":
|
||||||
api_compiler.start()
|
api_compiler.start()
|
||||||
error_compiler.start()
|
error_compiler.start()
|
||||||
# docs_compiler.start()
|
|
||||||
|
|
||||||
with open("pyrogram/__init__.py", encoding="utf-8") as f:
|
with open("pyrogram/__init__.py", encoding="utf-8") as f:
|
||||||
version = re.findall(r"__version__ = \"(.+)\"", f.read())[0]
|
version = re.findall(r"__version__ = \"(.+)\"", f.read())[0]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue