symposion_app/setup.py

37 lines
992 B
Python
Raw Normal View History

2012-08-14 05:30:26 +00:00
#!/usr/bin/env python
2014-01-15 15:07:04 +00:00
import os
2012-08-14 05:30:26 +00:00
from setuptools import setup, find_packages
import symposion
2014-01-15 15:07:04 +00:00
def read_file(filename):
"""Read a file into a string."""
path = os.path.abspath(os.path.dirname(__file__))
2014-01-16 13:28:45 +00:00
filepath = os.path.join(path, filename)
2014-01-15 15:07:04 +00:00
try:
return open(filepath).read()
except IOError:
return ''
2012-08-14 05:30:26 +00:00
setup(
name="symposion",
author="James Tauber",
author_email="jtauber@jtauber.com",
version=symposion.__version__,
description="A collection of Django apps for conference websites.",
2013-07-24 23:20:45 +00:00
url="http://eldarion.com/symposion/",
2014-01-15 15:07:04 +00:00
packages=find_packages(),
2012-08-14 05:30:26 +00:00
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",
),
2014-01-15 15:07:04 +00:00
install_requires=read_file("requirements/base.txt").splitlines(),
2012-08-14 05:30:26 +00:00
)