mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 13:27:47 +00:00
Disable docs source generation on setup
This commit is contained in:
parent
9a381be1bd
commit
b07c8f130f
5
setup.py
5
setup.py
@ -23,12 +23,13 @@ from setuptools import setup
|
|||||||
|
|
||||||
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
|
|
||||||
|
# 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()
|
# docs_compiler.start()
|
||||||
|
|
||||||
# PyPI doesn't like raw html
|
# PyPI doesn't like raw html
|
||||||
with open("README.rst", encoding="UTF-8") as f:
|
with open("README.rst", encoding="UTF-8") as f:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user