Closed asottile closed 3 years ago
the ./test directory was leaking into site-packages due to a misconfigured call to find_packages
./test
site-packages
find_packages
before:
$ git clean -fxfd >& /dev/null && python setup.py bdist_wheel >& /dev/null && unzip -l dist/*.whl | grep test 0 2021-08-20 14:00 test/__init__.py 0 2021-08-20 14:00 test/augmentation/__init__.py 0 2021-08-20 14:00 test/augmentation/apply/__init__.py 11665 2021-08-20 14:00 test/augmentation/apply/test_tf_applier.py 0 2021-08-20 14:00 test/augmentation/policy/__init__.py 693 2021-08-20 14:00 test/augmentation/policy/test_core.py 907 2021-08-20 14:00 test/augmentation/policy/test_sampling.py 0 2021-08-20 14:00 test/classification/__init__.py ...
after:
$ git clean -fxfd >& /dev/null && python setup.py bdist_wheel >& /dev/null && unzip -l dist/*.whl | grep test $
Need help on these? Just ask!
tox -e complex
tox -e spark
Thanks for the PR!
Description of proposed changes
the
./test
directory was leaking intosite-packages
due to a misconfigured call tofind_packages
Related issue(s)
Test plan
before:
after:
Checklist
Need help on these? Just ask!
tox -e complex
and/ortox -e spark
if appropriate. N/A