Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude tests from the distributed wheel #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SandaruKasa
Copy link

From what I can tell, it is discouraged to have a top-level directory named tests distributed alongside with the package: https://wiki.archlinux.org/title/Python_package_guidelines#Test_directory_in_site-package So this PR excludes it from the final .whl being built.

To the best of my understanding, it broke neither the deprecated python3 setup.py test, not the tox, or pytest. However, it might have broken someone's code if it relied on tgcrypto being distributed alongside with the tests. In which case, WTF.

Anyways, this most likely needs a version bump of some sorts, no matter the breakingness of the change.

SpEcHiDe pushed a commit to TelegramPlayGround/pyrogram-tgcrypto that referenced this pull request May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant