Files @ b50a42f24390
Branch filter:

Location: symposion_app/setup.py

Didier Raboud
Fix SponsorBenefit __str__ by using self.benefit.type instead of self.benefit_type
#!/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(),
)