kbr / fritzconnection

Python-Tool to communicate with the AVM Fritz!Box by the TR-064 protocol and the AHA-HTTP-Interface
MIT License
304 stars 59 forks source link

exclude test files from packaged files #39

Closed Valodim closed 4 years ago

Valodim commented 4 years ago

Hey there. Thanks for your work on this package!

I've been updating the NixOS packaging, and noticed that the setup.py file included the test files in the build. That's very likely not intentional, and also causes trouble because the tests refer to the xml directory in the source tree, which isn't packaged. They also cause weird ImportMismatchError with pytest.

Themanwithoutaplan commented 4 years ago

+1 on this. I use MANIFEST.in for more control but bdist_wheel continues to ignore this. :-/

kbr commented 4 years ago

Thanks for mention this.