mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-28 00:56:19 +00:00
Don't generate docs source on setup
This commit is contained in:
parent
a8d10443ea
commit
294aeca3c3
4
setup.py
4
setup.py
@ -23,12 +23,12 @@ from setuptools import setup
|
||||
|
||||
from compiler.api import compiler as api_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":
|
||||
api_compiler.start()
|
||||
error_compiler.start()
|
||||
docs_compiler.start()
|
||||
# docs_compiler.start()
|
||||
|
||||
# PyPI doesn't like raw html
|
||||
with open("README.rst", encoding="UTF-8") as f:
|
||||
|
Loading…
Reference in New Issue
Block a user