symposion_app/setup.py

38 lines
1.1 KiB
Python
Raw Normal View History

2016-03-28 09:16:08 +00:00
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
import registrasion
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="registrasion",
author="Christopher Neugebauer",
author_email="_@chrisjrn.com",
version=registrasion.__version__,
2016-04-01 11:14:39 +00:00
description="A registration app for the Symposion conference management "
"system.",
2016-03-28 09:16:08 +00:00
url="http://github.com/chrisjrn/registrasion/",
packages=find_packages(),
include_package_data=True,
classifiers=(
2016-04-26 04:51:12 +00:00
"Development Status :: 3 - Alpha",
2016-03-28 09:16:08 +00:00
"Programming Language :: Python",
"Framework :: Django",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: Apache Software License",
),
install_requires=read_file("requirements/base.txt").splitlines(),
dependency_links=read_file("requirements/dependencies.txt").splitlines(),
2016-03-28 09:16:08 +00:00
)