symposion_app/setup.py
Sachi King 21b2a01a84 Py2 compatability has been broke elsewhere drop it
This is all noop in Py3, and Py2 is broke now in various places.
Dropping Py2 code as it will not be a thing going forward.

Django 2 is the next release, Py2 support will be dropped, as such,
dropping this is forward looking.
2017-04-29 15:47:19 +10:00

36 lines
1,005 B
Python

#!/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 :: 3 :: Only",
"Framework :: Django",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
),
install_requires=read_file("requirements/base.txt").splitlines(),
)