In my package_name
subdirectory (one below "setup.py") I have a "logging.conf" file.
How do I include it in my setup?
Attempt
from distutils.sysconfig import get_python_lib
data_files=[(path.join(get_python_lib(), package_name),
path.join(path.dirname(__file__), package_name, 'logging.conf'))
Preferably it should be something simple like:
data_files = [(package_name, path.join('.', package_name, 'logging.conf'))]
Error
error: can't copy 'c': doesn't exist or not a regular file