Allow pruning the new generated files from pyrogram.raw.base

This commit is contained in:
Dan 2020-08-22 11:30:27 +02:00
parent fbded4e23b
commit 8f51f1597a
2 changed files with 5 additions and 1 deletions

View File

@ -7,4 +7,5 @@ recursive-include pyrogram mime.types schema.sql
prune pyrogram/errors/exceptions
prune pyrogram/raw/functions
prune pyrogram/raw/types
prune pyrogram/raw/base
exclude pyrogram/raw/all.py

View File

@ -39,7 +39,10 @@ with open("README.md", encoding="utf-8") as f:
class Clean(Command):
DIST = ["./build", "./dist", "./Pyrogram.egg-info"]
API = ["pyrogram/errors/exceptions", "pyrogram/raw/functions", "pyrogram/raw/types", "pyrogram/raw/all.py"]
API = [
"pyrogram/errors/exceptions", "pyrogram/raw/functions", "pyrogram/raw/types", "pyrogram/raw/base",
"pyrogram/raw/all.py"
]
DOCS = [
"docs/source/telegram", "docs/build", "docs/source/api/methods", "docs/source/api/types",
"docs/source/api/bound-methods"