mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-28 00:56:19 +00:00
Clean code
This commit is contained in:
parent
b200f9d7dd
commit
bf0b8aa692
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 New Issue
Block a user