#/usr/bin/env python
import codecs
import os
from setuptools import setup, find_packages


read = lambda filepath: codecs.open(filepath, 'r', 'utf-8').read()


# Load package meta from the pkgmeta module without loading the package.
pkgmeta = {}
execfile(os.path.join(os.path.dirname(__file__), 'ecstatic', 'pkgmeta.py'),
         pkgmeta)


setup(
    name=pkgmeta['__title__'],
    version=pkgmeta['__version__'],
    description='An expansion pack for django.contrib.staticfiles!',
    long_description=read(os.path.join(os.path.dirname(__file__), 'README.rst')),
    author=pkgmeta['__author__'],
    author_email='m@tthewwithanm.com',
    url='http://github.com/hzdg/django-ecstatic',
    download_url='http://github.com/hzdg/django-ecstatic/tarball/master',
    packages=find_packages(),
    zip_safe=False,
    include_package_data=True,
    tests_require=[
    ],
    install_requires=[
        'Django>=1.4',
        'django-appconf>=0.5',
    ],
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 2.5',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Topic :: Utilities'
    ],
)

#/usr/bin/env python
import codecs
import os
from setuptools import setup, find_packages


read = lambda filepath: codecs.open(filepath, 'r', 'utf-8').read()

def exec_file(filepath, globalz=None, localz=None):
    exec(read(filepath), globalz, localz)

# Load package meta from the pkgmeta module without loading the package.
pkgmeta = {}
exec_file(os.path.join(os.path.dirname(__file__), 'ecstatic', 'pkgmeta.py'),
         pkgmeta)


setup(
    name=pkgmeta['__title__'],
    version=pkgmeta['__version__'],
    description='An expansion pack for django.contrib.staticfiles!',
    long_description=read(os.path.join(os.path.dirname(__file__), 'README.rst')),
    author=pkgmeta['__author__'],
    author_email='m@tthewwithanm.com',
    url='http://github.com/hzdg/django-ecstatic',
    download_url='http://github.com/hzdg/django-ecstatic/tarball/master',
    packages=find_packages(),
    zip_safe=False,
    include_package_data=True,
    tests_require=[
    ],
    install_requires=[
        'Django>=1.4',
        'django-appconf>=0.5',
    ],
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 2.5',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Topic :: Utilities'
    ],
)

Replace execfile with exec_file.