I have a Python package that contains some data files (
.pyi stub files). They are listed in
package_data and the
MANIFEST.in file. When I
pip install the package on a Linux server, the files are included in the package under
.../site-packages/my-package/path/to/file.pyi, as expected.
However, when Travis installs the package as a dependency (
pip install [.develop] in a dependent package), these files are not installed; that is,
.../site-packages/my-package does not contain the
.pyi files. This means running
mypy on the dependent package fails, which breaks the build.
Is there something special about the
pip install in the virtual environment created by Travis, and what do I need to do to get it to include the