
from distutils.core import setup
setup(name="sysops-api",
      version="1.0",
      description="LinkedIn Redis / Cfengine API",
      author = "Mike Svoboda",
      author_email = "msvoboda@linkedin.com",
      py_modules=['CacheExtractor', 'RedisFinder'],
      data_files=[('/usr/local/bin', ['./scripts/extract_sysops_cache.py']),
                  ('/usr/local/bin', ['./scripts/extract_sysops_api_to_disk.py']),
                  ('/usr/local/bin', ['./scripts/extract_sysctl_live_vs_persistant_entries.py']),
                  ('/usr/local/bin', ['./scripts/extract_user_account_access.py']),
                  ('/usr/local/bin', ['./scripts/extract_user_sudo_privileges.py'])],
      package_dir={'': 'src'},
      packages = ['seco'],
      )


from distutils.core import setup
setup(name="sysops-api",
      version="1.0",
      description="LinkedIn Redis / Cfengine API",
      author="Mike Svoboda",
      author_email="msvoboda@linkedin.com",
      py_modules=['CacheExtractor', 'RedisFinder'],
      scripts=['scripts/extract_sysops_cache.py',
               'scripts/extract_sysops_api_to_disk.py',
               'scripts/extract_sysctl_live_vs_persistant_entries.py',
               'scripts/extract_user_account_access.py',
               'scripts/extract_user_sudo_privileges.py'],
      package_dir={'': 'src'},
      packages=['seco'],
      )

Install scripts properly rather than as datafiles
Install scripts properly rather than as datafiles

- also fix whitespace

  
  from distutils.core import setup
  setup(name="sysops-api",
        version="1.0",
        description="LinkedIn Redis / Cfengine API",
-       author = "Mike Svoboda",
+       author="Mike Svoboda",
-       author_email = "msvoboda@linkedin.com",
+       author_email="msvoboda@linkedin.com",
        py_modules=['CacheExtractor', 'RedisFinder'],
-       data_files=[('/usr/local/bin', ['./scripts/extract_sysops_cache.py']),
+       scripts=['scripts/extract_sysops_cache.py',
-                   ('/usr/local/bin', ['./scripts/extract_sysops_api_to_disk.py']),
+                'scripts/extract_sysops_api_to_disk.py',
-                   ('/usr/local/bin', ['./scripts/extract_sysctl_live_vs_persistant_entries.py']),
+                'scripts/extract_sysctl_live_vs_persistant_entries.py',
-                   ('/usr/local/bin', ['./scripts/extract_user_account_access.py']),
+                'scripts/extract_user_account_access.py',
-                   ('/usr/local/bin', ['./scripts/extract_user_sudo_privileges.py'])],
+                'scripts/extract_user_sudo_privileges.py'],
        package_dir={'': 'src'},
-       packages = ['seco'],
+       packages=['seco'],
        )
  
Install scripts properly rather than as datafiles
## Code Before:

from distutils.core import setup
setup(name="sysops-api",
      version="1.0",
      description="LinkedIn Redis / Cfengine API",
      author = "Mike Svoboda",
      author_email = "msvoboda@linkedin.com",
      py_modules=['CacheExtractor', 'RedisFinder'],
      data_files=[('/usr/local/bin', ['./scripts/extract_sysops_cache.py']),
                  ('/usr/local/bin', ['./scripts/extract_sysops_api_to_disk.py']),
                  ('/usr/local/bin', ['./scripts/extract_sysctl_live_vs_persistant_entries.py']),
                  ('/usr/local/bin', ['./scripts/extract_user_account_access.py']),
                  ('/usr/local/bin', ['./scripts/extract_user_sudo_privileges.py'])],
      package_dir={'': 'src'},
      packages = ['seco'],
      )

## Instruction:
Install scripts properly rather than as datafiles
## Code After:

from distutils.core import setup
setup(name="sysops-api",
      version="1.0",
      description="LinkedIn Redis / Cfengine API",
      author="Mike Svoboda",
      author_email="msvoboda@linkedin.com",
      py_modules=['CacheExtractor', 'RedisFinder'],
      scripts=['scripts/extract_sysops_cache.py',
               'scripts/extract_sysops_api_to_disk.py',
               'scripts/extract_sysctl_live_vs_persistant_entries.py',
               'scripts/extract_user_account_access.py',
               'scripts/extract_user_sudo_privileges.py'],
      package_dir={'': 'src'},
      packages=['seco'],
      )
