Telethon/DEVELOPING.md

23 lines
463 B
Markdown
Raw Normal View History

Code generation:
2023-07-05 23:35:06 +03:00
```sh
pip install -e generator/
python tools/codegen.py
```
Formatting, type-checking and testing:
```sh
2023-09-13 20:01:16 +03:00
pip install -e client/[dev]
python tools/check.py
```
2023-09-13 20:01:16 +03:00
Documentation (requires [sphinx](https://www.sphinx-doc.org) and [graphviz](https://www.graphviz.org)'s `dot`):
```sh
2023-09-13 20:01:16 +03:00
pip install -e client/[doc]
python tools/docgen.py
2023-07-05 23:35:06 +03:00
```
2023-09-13 20:01:16 +03:00
Note that multiple optional dependency sets can be specified by separating them with a comma (`[dev,doc]`).