A Python package should contain some data files alongside with Python sources.
How to make setuptools or distutils to install the data files?
How can my Python code know which directories my data files are installed in?
A Python package should contain some data files alongside with Python sources.
How to make setuptools or distutils to install the data files?
How can my Python code know which directories my data files are installed in?
Following will answer your Q#1:
There is a concept of data_file and package_data.
Package_data is used to include documentation and data_files is used to include configuration file, messages and data file.