def get_data_files():
    """Return data_files in a platform dependent manner"""
if sys.platform.startswith('linux'):
    if PY3:
        data_files = [('share/applications', ['scripts/spyder3.desktop']),
            ('share/pixmaps', ['img_src/spyder3.png'])]
else:
    data_files = [('share/applications', ['scripts/spyder.desktop']), (
        'share/pixmaps', ['img_src/spyder.png'])]
Упакуйте приложение Python, как это делает spyder