2016-09-22 01:28:38 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
import os
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
2016-09-22 01:30:28 +00:00
|
|
|
import registripe
|
2016-09-22 01:28:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
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(
|
2016-09-22 01:30:28 +00:00
|
|
|
name="registrasion-stripe",
|
2016-09-22 01:28:38 +00:00
|
|
|
author="Christopher Neugebauer",
|
|
|
|
author_email="_@chrisjrn.com",
|
2016-09-22 01:30:28 +00:00
|
|
|
version=registripe.__version__,
|
|
|
|
description="Stripe-based payments for the Registrasion conference registration package.",
|
|
|
|
url="http://github.com/chrisjrn/registrasion-stripe/",
|
2016-09-22 01:28:38 +00:00
|
|
|
packages=find_packages(),
|
|
|
|
include_package_data=True,
|
|
|
|
classifiers=(
|
|
|
|
"Development Status :: 3 - Alpha",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
"Framework :: Django",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"Natural Language :: English",
|
|
|
|
"License :: OSI Approved :: Apache Software License",
|
|
|
|
),
|
2016-09-22 01:30:28 +00:00
|
|
|
install_requires=read_file("requirements.txt").splitlines(),
|
2016-09-22 01:28:38 +00:00
|
|
|
)
|