From df1a792cee6cba2d239ede1ca2a089a5881039df Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 23 Dec 2020 16:19:02 +0100 Subject: [PATCH] Exclude the tests folder from binary distributions Also remove some unneeded package data --- setup.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/setup.py b/setup.py index 4f67b52c..d7dcb5fc 100644 --- a/setup.py +++ b/setup.py @@ -171,11 +171,7 @@ setup( "Documentation": "https://docs.pyrogram.org", }, python_requires="~=3.6", - packages=find_packages(exclude=["compiler*"]), - package_data={ - "pyrogram": ["mime.types"], - "pyrogram.storage": ["schema.sql"] - }, + packages=find_packages(exclude=["compiler*", "tests*"]), zip_safe=False, install_requires=requires, cmdclass={