Source

stackoverflow / 8628495 / setup.py

Full commit
from distutils.core import setup

setup(
	name='myproject',
	version='1.0',
	scripts=['myproject/mycode.py'],
	data_files = [
		('data',
			['myproject/data/file1.dat']
		),
	],
)