from setuptools import setup, find_packages

INFO = {'name': 'mecode',
        'version': '0.2.3',
        'description': 'Simple GCode generator',
        'author': 'Jack Minardi',
        'author_email': 'jack@minardi.org',
        }

setup(
    name=INFO['name'],
    version=INFO['version'],
    description=INFO['description'],
    author=INFO['author'],
    author_email=INFO['author_email'],
    packages=find_packages(),
    url='https://github.com/jminardi/mecode',
    download_url='https://github.com/jminardi/mecode/tarball/master',
    keywords=['gcode', '3dprinting', 'cnc', 'reprap'],
    zip_safe=False,
    data_files = [
        ("./mecode", [
            "mecode/header.txt",
            "mecode/footer.txt"])],
)

@@ -621,113 +621,33 @@
     
-data_files = %5B%0A        (%22./mecode%22, %5B%0A            %22mecode/header.txt%22,%0A            %22mecode/footer.txt%22%5D)%5D
+include_package_data=True
 ,%0A)%0A

use recommended method of including txt files