#!/usr/bin/env python
import subprocess
from subprocess import Popen, PIPE

import os
import sys

from distutils.core import setup
from distutils.command.build_py import build_py

packages = []
base_path = os.path.abspath(os.path.dirname(__file__))

class my_build_py(build_py):
    def get_data_files(self):
        return build_py.get_data_files(self)

    def find_data_files(self, package, src_dir):
        files = []
        for dirpath, dirnames, filenames in os.walk(os.path.join(src_dir), topdown=True):
            for i, dirname in enumerate(dirnames):
                if os.path.exists(os.path.join(src_dir, dirname, '__init__.py')):
                    del dirnames[i]

            if not '__init__.py' in filenames:
                files.extend([os.path.join(dirpath, x) for x in filenames if not x.startswith('.')])
        return files

def fullsplit(path, result=None, base_path=None):
    """
    Split a pathname into components (the opposite of os.path.join) in a
    platform-neutral way.
    """

    if base_path:
        path = path.replace(base_path, '')

    if result is None:
        result = []
    head, tail = os.path.split(path)
    if head == '':
        return [tail] + result
    if head == path:
        return result
    return fullsplit(head, [tail] + result)

for dirpath, dirnames, filenames in os.walk(os.path.join(base_path, 'scarlet'), followlinks=False):
    # Ignore dirnames that start with '.'
    for i, dirname in enumerate(dirnames):
        if dirname.startswith('.'): del dirnames[i]

    if '__init__.py' in filenames:
        packages.append('.'.join(fullsplit(dirpath, base_path=base_path)))

setup(
    name='scarlet',
    version=__import__('scarlet').__version__,
    description='',
    author='RED Interactive Agency',
    author_email='geeks@ff0000.com',
    url='http://github.com/ff0000/scarlet/',
    packages=packages,
    cmdclass={'build_py': my_build_py},
    classifiers=[
          'Development Status :: 3 - Alpha',
          'Environment :: Web Environment',
          'Framework :: Django',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: POSIX',
          'Programming Language :: Python',
    ]
)

@@ -19,81 +19,17 @@
 hon%0A
-import subprocess%0Afrom subprocess import Popen, PIPE%0A%0Aimport os%0Aimport sy
+%0Aimport o
 s%0A%0Af
@@ -1668,16 +1668,80 @@
 iption='
+A replacement for the Django Admin, focused on Content Managment
 ',%0A    a
@@ -1854,16 +1854,98 @@
 rlet/',%0A
+    install_requires=%5B'django-taggit==0.12.3', 'pillow==2.7.0', 'django==1.7.3'%5D,%0A
     pack

Add description and dependencies