Access Data in Installed Python Package
Python
How to access data files in installed python packages.
For a python package structured as the following:
we can include the data in the package by
in setup.py.
If we need to access the data files in other parts of this package, we can do
This makes sure to get the path to the data included in the package after installation.