Files @ 039ce4e00034
Branch filter:

Location: symposion_app/setup.py

Hiroshi Miura
Return unicode from _unicode_ methods

Import from PyCon improvement.

Author: Dan Poirier <dpoirier@caktusgroup.com>
Date: Mon Jul 8 15:55:33 2013 -0400

Return unicode from __unicode__ methods

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
#!/usr/bin/env python
import os
from setuptools import setup, find_packages

import symposion


def read_file(filename):
    """Read a file into a string."""
    path = os.path.abspath(os.path.dirname(__file__))
    filepath = os.path.join(path, filename)
    try:
        return open(filepath).read()
    except IOError:
        return ''


setup(
    name="symposion",
    author="James Tauber",
    author_email="jtauber@jtauber.com",
    version=symposion.__version__,
    description="A collection of Django apps for conference websites.",
    url="http://eldarion.com/symposion/",
    packages=find_packages(),
    include_package_data=True,
    classifiers=(
        "Development Status :: 4 - Beta",
        "Programming Language :: Python",
        "Framework :: Django",
        "Intended Audience :: Developers",
        "Natural Language :: English",
        "License :: OSI Approved :: MIT License",
    ),
    install_requires=read_file("requirements/base.txt").splitlines(),
)