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

config = {
    'description':
        'The logfind tool is designed to find all the log files that have at least one instance of some text',
    'author': 'Deon Heyns',
    'url': 'https://github.com/DeonHeyns/logfind',
    'download_url': 'https://github.com/DeonHeyns/logfind',
    'author_email': 'deon@deonheyns.com',
    'version': '0.1',
    'install_requires': ['nose'],
    'packages': ['logfind'],
    'scripts': [],
    'name': 'logfind',
    'entry_points': {
        'console_scripts': [
            'logfind = logfind.__main__:main',
        ]
    }
}

setup(**config)

@@ -1,8 +1,18 @@
+import os%0A
 try:%0A   
@@ -681,8 +681,157 @@
 config)%0A
+%0A# create the .logfind file%0Alogfind_file = os.path.join(os.environ%5B'HOME'%5D, '.logfind')%0Awith open(logfind_file, 'wb+') as f:%0A    f.write('.*%5C.log$')%0A

create a .logfind folder when installing for the first time