import sys, os
from setuptools import setup, find_packages

version = '0.2.1dev'
long_description = open('README.rst').read() + '\n\n' + \
                   open('CHANGES.rst').read()

setup(
    name='django_logtail',
    version=version,
    description='A log viewing and tailing utility accessible via a Django ' \
                'admin panel',
    long_description=long_description,
    keywords='django admin logfile viewer tail log',
    author='Alex Holmes',
    author_email='alex.holmes@isotoma.com',
    url='https://github.com/alex2/django_logtail',
    license='The MIT License',
    packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
    include_package_data=True,
    zip_safe=False,
    install_requires=[
        'setuptools',
        'Django',
    ],
)

@@ -1,19 +1,4 @@
-import sys, os%0A
 from
@@ -77,16 +77,33 @@
 iption =
+ '%5Cn%5Cn'.join(%0A   
  open('R
@@ -124,37 +124,10 @@
 ad()
- + '%5Cn%5Cn' + %5C%0A               
+,%0A
     
@@ -152,16 +152,19 @@
 ).read()
+,%0A)
 %0A%0Asetup(
@@ -228,16 +228,26 @@
 ription=
+(%0A        
 'A log v
@@ -301,29 +301,8 @@
 ngo 
-' %5C%0A                '
 admi
@@ -309,16 +309,22 @@
 n panel'
+%0A    )
 ,%0A    lo

Tweak setup.py