Skip to content

Instantly share code, notes, and snippets.

@justinmklam
Last active June 4, 2020 20:22
Show Gist options
  • Save justinmklam/c53074c9dadabfb2d4a1b23eb4e3c248 to your computer and use it in GitHub Desktop.
Save justinmklam/c53074c9dadabfb2d4a1b23eb4e3c248 to your computer and use it in GitHub Desktop.
Include data files in python package

Add MANIFEST.in, which includes:

include path/to/yourfile.csv

And then in setup() inside setup.py, include:

include_package_data=True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment