mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Dev 3.x api 4.8 (#317)
* AIOG-T-20 Bot API 4.8 * AIOG-T-20 Update aliases * AIOG-T-20 Add parse mode passing in sendPoll method * AIOG-T-20 Small changes in docs * AIOG-T-20 Revert overriding remove keyboard default value and add tests * AIOG-T-20 Bot API 4.8
This commit is contained in:
parent
15bcc0ba9f
commit
6be0b36305
104 changed files with 312 additions and 175 deletions
18
build.py
Normal file
18
build.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
from pathlib import Path
|
||||
from typing import Any, Dict
|
||||
|
||||
BUILD_PATH: Path = Path(__file__).parent
|
||||
META_PATH: Path = BUILD_PATH / "aiogram" / "_meta.py"
|
||||
|
||||
|
||||
def write_metadata(setup_kwargs: Dict[str, Any]) -> None:
|
||||
version = setup_kwargs["version"]
|
||||
description = setup_kwargs["description"]
|
||||
|
||||
content = [f"VERSION = {version!r}", f"DESCRIPTION = {description!r}"]
|
||||
|
||||
META_PATH.write_text("\n".join(content + [""]))
|
||||
|
||||
|
||||
def build(setup_kwargs: Dict[str, Any]):
|
||||
write_metadata(setup_kwargs)
|
||||
Loading…
Add table
Add a link
Reference in a new issue