from distutils.core import setup
setup(name='myproject', version='1.0', scripts=['scripts/run-my-code.py'],
    packages=['myproject'], package_data={'myproject': ['data/file1.dat']})
Determining the location of distutils data files programmatically in Python