Exclude the tests folder from binary distributions

Also remove some unneeded package data
This commit is contained in:
Dan 2020-12-23 16:19:02 +01:00
parent 865f4274c3
commit df1a792cee

View File

@ -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={