google/python-fire

Tests are installed

dvzrv opened this issue · 1 comments

dvzrv commented

Hi! I package this project for Arch Linux.

I noticed, that all test files are installed when installing this package. Although the test files should be part of an sdist or source tarball, they should not be installed to the target system, as tests should be run beforehand.

Moving the various *_test.py and testutils.py files from the fire/ directory to a dedicated tests/ directory would help you to ignore them for installation.

Thanks for the note. The reason the tests files live alongside the source files is to conform to Google's internal conventions.
I'll use this issue to look into adding a transform such that we can keep the current structure internally but use your suggested structure here on github.