from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
setup(name='somename', version='1.0', description='description string',
    long_description="""long description
""", author='Foo', author_email=
    'bar@gmail.com', url='http://nowhere.com', include_package_data=True,
    license='MIT', packages=['gui', 'logic'], package_dir={'gui':
    'myApp/gui', 'logic': 'myApp/logic'}, classifiers=[
    'Development Status :: 5 - Production/Stable', 'Topic :: Utilities',
    'License :: OSI Approved :: MIT License'], data_files=[(
    '/path/to/resources', ['resources/x.data', 'resources/y.data']), (
    '/path/to/icons', ['myApp/icons/a.ico', 'myApp/icons/e.ico'])])
how to write setup.py for this application structure?