try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup


config = {
    'description': """MiniCPS is a lightweight simulator for accurate network
    traffic in an industrial control system, with basic support for physical
    layer interaction.""",

    'author': 'Daniele Antonioli',

    'url': 'https://github.com/scy-phy/minicps',

    'download_url': 'https://github.com/scy-phy/minicps',

    'author email': 'daniele_antonioli@sutd.edu.sg',

    'version': '1.1.0',

    'install_requires': [
        'cryptography',
        'pyasn1',
        'pymodbus',
        'cpppo',
    ],

    'package': ['minicps'],
    'scripts': [],
    'name': 'minicps'
}


setup(**config)

@@ -1,8 +1,31 @@
+#!/usr/bin/env python2%0A
 try:%0A   
@@ -116,25 +116,121 @@
 up%0A%0A
-%0Aconfig = %7B%0A    '
+# NOTE: https://docs.python.org/2/distutils/setupscript.html%0Asetup(%0A    name='minicps',%0A    version='1.1.0',%0A    
 desc
@@ -240,222 +240,409 @@
 tion
+=
 '
-: %22%22%22
 MiniCPS
- is a lightweight simulator for accurate network%0A    traffic in an industrial control system, with basic support for physical%0A    layer interaction.%22%22%22,%0A%0A    'author': 'Daniele Antonioli
+: a framework for Cyber-Physical Systems %5C%0A    real-time simulation, built on top of mininet.',%0A    # NOTE: long_description displayed on PyPi%0A    long_description='MiniCPS is a framework for Cyber-Physical Systems %5C%0A    real-time simulation. It includes support for physical process and %5C%0A    control devices simulation, and network emulation. It is build %5C%0A    on top of mininet.
 ',%0A
-%0A
     
-'
 url
-': 
+=
 'htt
@@ -679,152 +679,537 @@
 s',%0A
-%0A
     
-'download_url': 'https://github.com/scy-phy/minicps',%0A%0A
+author='Daniele Antonioli',%0A    author_email='antonioli.daniele@gmail.com',%0A    license='MIT',%0A    classifiers=%5B%0A        'License :: OSI Approved :: MIT License',%0A  
     
-'author email': 'daniele_antonioli@sutd.edu.sg',%0A%0A    'version': '1.1.0',%0A
+  'Programming Language :: Python :: 2',%0A        'Programming Language :: Python :: 2.7',%0A    %5D,%0A    keywords='simulation cyber-physical systems security real-time mininet',%0A    packages=%5B'minicps'%5D,%0A    # packages=find_packages(exclude=%5B'docs', 'tests*', 'examples', 'temp',%0A    # 'bin'%5D),%0A    # NOTE: for the uses, see requirements for the developer
 %0A    
-'
 inst
@@ -1220,19 +1220,17 @@
 requires
-': 
+=
 %5B%0A      
@@ -1313,94 +1313,165 @@
  %5D,%0A
+    # NOTE: specify files relative to the module path
 %0A    
-'
 package
-': %5B'minicps'%5D,%0A    'scripts': %5B%5D,%0A    'name': 'minicps'%0A%7D%0A%0A%0Asetup(**config)
+_data=%7B%7D,%0A    # NOTE: specify files with absolute paths%0A    data_files=None,%0A    scripts=%5B%5D,%0A)%0A
 %0A

Update setup.py