symposion_app/vendor/registripe/setup.py
James Polley 660690c5cf git subrepo pull vendor/registripe
Also update vendored_requirements to make sure we pull this in.

subrepo:
  subdir:   "vendor/registripe"
  merged:   "9fc3645"
upstream:
  origin:   "git@gitlab.com:tchaypo/registrasion-stripe.git"
  branch:   "lca2018"
  commit:   "9fc3645"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2017-09-30 02:30:56 +10:00

35 lines
1 KiB
Python

#!/usr/bin/env python
import os
from setuptools import setup, find_packages
import registripe
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-stripe",
author="Christopher Neugebauer",
author_email="_@chrisjrn.com",
version=registripe.__version__,
description="Stripe-based payments for the Registrasion conference registration package.",
url="http://github.com/chrisjrn/registrasion-stripe/",
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",
),
install_requires=read_file("requirements.txt").splitlines(),
)