#!/usr/bin/env python

from setuptools import setup, find_packages

setup(name='FeinCMS',
    version='1.0',
    description='Django-based CMS building toolkit.',
    author='Matthias Kestenholz',
    author_email='mk@feinheit.ch',
    url='http://github.com/matthiask/feincms/',
    download_url='http://github.com/matthiask/feincms/zipball/master',
    classifiers=[
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Framework :: Django',
        'Topic :: Software Development',
    ],
    requires=[
        #'lxml', # only needed for rich text cleansing
        'tagging (>0.2.1)', # please use SVN trunk
        'django_mptt (>0.2.1)', # please use SVN trunk
    ],
    packages=['feincms',
        'feincms.admin',
        'feincms.content',
        'feincms.content.application',
        'feincms.content.contactform',
        'feincms.content.file',
        'feincms.content.image',
        'feincms.content.medialibrary',
        'feincms.content.raw',
        'feincms.content.richtext',
        'feincms.content.rss',
        'feincms.content.video',
        'feincms.management',
        'feincms.management.commands',
        'feincms.module',
        'feincms.module.blog',
        'feincms.module.blog.extensions',
        'feincms.module.medialibrary',
        'feincms.module.page',
        'feincms.module.page.extensions',
        'feincms.module.page.templatetags',
        'feincms.templatetags',
        'feincms.views',
        'feincms.views.generic',
    ],
    include_package_data=True,
    package_data={
        '': ['*.po', '*.html', '*.js'],
        'feincms': [
            'locale/*/LC_MESSAGES/*po',
            'media/*.css',
            'media/*.js',
            'media/css/*.css',
            'media/images/*.gif',
            'media/images/*.png',
            'media/img/*.gif',
            'media/img/*.png',
            'media/ui/*.css',
            'media/ui/*.js',
            'media/ui/images/*.png',
            'templates/*.html',
            'templates/*/*.html',
            'templates/*/*/*.html',
            'templates/*/*/*/*.html',
            'templates/*.txt',
            'templates/*/*.txt',
            'templates/*/*/*.txt',
            'templates/*/*/*/*.txt',
            ],
    },
    zip_safe=False,
)


Add setup.py