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", "Documentation": "https://docs.pyrogram.org",
}, },
python_requires="~=3.6", python_requires="~=3.6",
packages=find_packages(exclude=["compiler*"]), packages=find_packages(exclude=["compiler*", "tests*"]),
package_data={
"pyrogram": ["mime.types"],
"pyrogram.storage": ["schema.sql"]
},
zip_safe=False, zip_safe=False,
install_requires=requires, install_requires=requires,
cmdclass={ cmdclass={