This can be done in a two-step process, as detailed here.
You need one file in the root of your source, MANIFEST.in
which reads:
include path/to/yourfile.csv
and you also need to add include_package_data=True,
to the setup()
function in setup.py
.
Tried and tested.