mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-06 15:14:52 +00:00
Generate docs source on setup
This commit is contained in:
parent
e946825e0f
commit
a926561f76
1 changed files with 2 additions and 0 deletions
2
setup.py
2
setup.py
|
|
@ -23,10 +23,12 @@ 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
|
||||||
|
|
||||||
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()
|
||||||
|
|
||||||
# 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…
Reference in a new issue