From 8f51f1597a6a7b04e2782869367ceff80b3eeb52 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 22 Aug 2020 11:30:27 +0200 Subject: [PATCH] Allow pruning the new generated files from pyrogram.raw.base --- MANIFEST.in | 1 + setup.py | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index 67900cba..100375d7 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -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 \ No newline at end of file diff --git a/setup.py b/setup.py index 3b88bab7..28942b6b 100644 --- a/setup.py +++ b/setup.py @@ -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"