Actually exclude tests from setup.py installation

Without the glob, the tests module is still installed using `setup.py
install`.

Fixes 4ce2c00.
This commit is contained in:
Xiretza 2020-10-27 10:57:59 +01:00
parent 4ce2c0017a
commit b8f22b2ab1
No known key found for this signature in database
GPG Key ID: 17B78226F7139993

View File

@ -230,7 +230,7 @@ def main(argv):
],
keywords='telegram api chat client library messaging mtproto',
packages=find_packages(exclude=[
'telethon_*', 'tests'
'telethon_*', 'tests*'
]),
install_requires=['pyaes', 'rsa'],
extras_require={