forked from pinax/pinax-stripe-light
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
103 lines (84 loc) · 2.92 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
from setuptools import find_packages, setup
NAME = "pinax-stripe"
DESCRIPTION = "a payments Django app for Stripe"
AUTHOR = "Pinax Team"
AUTHOR_EMAIL = "[email protected]"
URL = "https://github.com/pinax/pinax-stripe"
LONG_DESCRIPTION = """
============
Pinax Stripe
============
.. image:: http://slack.pinaxproject.com/badge.svg
:target: http://slack.pinaxproject.com/
.. image:: https://img.shields.io/travis/pinax/pinax-stripe.svg
:target: https://travis-ci.org/pinax/pinax-stripe
.. image:: https://img.shields.io/codecov/c/github/pinax/pinax-stripe.svg
:target: https://codecov.io/gh/pinax/pinax-stripe
.. image:: https://img.shields.io/pypi/dm/pinax-stripe.svg
:target: https://pypi.python.org/pypi/pinax-stripe/
.. image:: https://img.shields.io/pypi/v/pinax-stripe.svg
:target: https://pypi.python.org/pypi/pinax-stripe/
.. image:: https://img.shields.io/badge/license-MIT-blue.svg
:target: https://pypi.python.org/pypi/pinax-stripe/
This app was formerly called ``django-stripe-payments`` and has been renamed to
avoid namespace collisions and to have more consistancy with Pinax.
Pinax
------
Pinax is an open-source platform built on the Django Web Framework. It is an
ecosystem of reusable Django apps, themes, and starter project templates.
This collection can be found at http://pinaxproject.com.
This app was developed as part of the Pinax ecosystem but is just a Django app
and can be used independently of other Pinax apps.
pinax-stripe
------------
``pinax-stripe`` is a payments Django app for Stripe.
This app allows you to process one off charges as well as signup users for
recurring subscriptions managed by Stripe.
"""
tests_require = [
"mock",
]
setup(
name=NAME,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
version="4.0.0",
license="MIT",
url=URL,
packages=find_packages(),
package_data={
"pinax.stripe": [
"templates/pinax/stripe/email/body_base.txt",
"templates/pinax/stripe/email/body.txt",
"templates/pinax/stripe/email/subject.txt"
]
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Framework :: Django",
],
install_requires=[
"django-appconf>=1.0.1",
"jsonfield>=1.0.3,<2.0.0",
"stripe>=1.7.9",
"django>=1.8",
"pytz",
"six",
"django-ipware==1.1.6"
],
extras_require={
"pytest": ["pytest", "pytest-django"] + tests_require,
},
test_suite="runtests.runtests",
tests_require=tests_require,
zip_safe=False,
)