forked from pinax/pinax-stripe-light
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
75 lines (68 loc) · 2.21 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
import codecs
from os import path
from setuptools import find_packages, setup
def read(*parts):
filename = path.join(path.dirname(__file__), *parts)
with codecs.open(filename, encoding="utf-8") as fp:
return fp.read()
PACKAGE = "payments"
NAME = "django-stripe-payments"
DESCRIPTION = "a payments Django app for Stripe"
AUTHOR = "Pinax Team"
AUTHOR_EMAIL = "[email protected]"
URL = "https://github.com/pinax/django-stripe-payments"
setup(
name=NAME,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
description=DESCRIPTION,
long_description=read("README.rst"),
version="2.0.0",
license="MIT",
url=URL,
packages=find_packages(),
package_data={
"payments": [
"templates/payments/email/body_base.txt",
"templates/payments/email/body.txt",
"templates/payments/email/subject.txt",
"templates/payments/_cancel_form.html",
"templates/payments/_change_card_form.html",
"templates/payments/_change_plan_form.html",
"templates/payments/_subscribe_form.html",
"templates/payments/_subscription_status.html",
"templates/payments/base.html",
"templates/payments/cancel.html",
"templates/payments/change_card.html",
"templates/payments/change_plan.html",
"templates/payments/history.html",
"templates/payments/subscribe.html",
]
},
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Framework :: Django",
],
install_requires=[
"django-jsonfield>=0.8",
"stripe>=1.7.9",
"django>=1.6",
"pytz",
"six",
],
test_suite="runtests.runtests",
tests_require=[
"mock",
"django_forms_bootstrap",
],
zip_safe=False,
)