-
Notifications
You must be signed in to change notification settings - Fork 74
/
setup.py
100 lines (86 loc) · 3.49 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
from setuptools import find_packages, setup
VERSION = "4.3.0"
LONG_DESCRIPTION = """
.. image:: http://pinaxproject.com/pinax-design/patches/pinax-referrals.svg
:target: https://pypi.python.org/pypi/pinax-referrals/
===============
Pinax Referrals
===============
.. image:: https://img.shields.io/pypi/v/pinax-referrals.svg
:target: https://pypi.python.org/pypi/pinax-referrals/
\
.. image:: https://img.shields.io/circleci/project/github/pinax/pinax-referrals.svg
:target: https://circleci.com/gh/pinax/pinax-referrals
.. image:: https://img.shields.io/codecov/c/github/pinax/pinax-referrals.svg
:target: https://codecov.io/gh/pinax/pinax-referrals
.. image:: https://img.shields.io/github/contributors/pinax/pinax-referrals.svg
:target: https://github.com/pinax/pinax-referrals/graphs/contributors
.. image:: https://img.shields.io/github/issues-pr/pinax/pinax-referrals.svg
:target: https://github.com/pinax/pinax-referrals/pulls
.. image:: https://img.shields.io/github/issues-pr-closed/pinax/pinax-referrals.svg
:target: https://github.com/pinax/pinax-referrals/pulls?q=is%3Apr+is%3Aclosed
\
.. image:: http://slack.pinaxproject.com/badge.svg
:target: http://slack.pinaxproject.com/
.. image:: https://img.shields.io/badge/license-MIT-blue.svg
:target: https://opensource.org/licenses/MIT/
\
``pinax-referrals`` provides a site with the ability for users to
publish referral links to specific pages or objects and then record
any responses to those links for subsequent use by the site.
For example, on an object detail page, the site builder would use a
template tag from ``pinax-referrals`` to display a referral link that the user of the
site can send out in a Tweet. Upon clicking that link, a response to that
referral code will be recorded as well as any other activity that the site
builder wants to track for that session.
It is also possible for anonymous referral links/codes to be generated
which is useful in marketing promotions and the like.
Supported Django and Python Versions
------------------------------------
+-----------------+-----+-----+-----+
| Django / Python | 3.6 | 3.7 | 3.8 |
+=================+=====+=====+=====+
| 2.2 | * | * | * |
+-----------------+-----+-----+-----+
| 3.0 | * | * | * |
+-----------------+-----+-----+-----+
"""
setup(
author="Pinax Team",
author_email="[email protected]",
description="a referrals app for Django",
name="pinax-referrals",
long_description=LONG_DESCRIPTION,
version=VERSION,
url="http://github.com/pinax/pinax-referrals/",
license="MIT",
packages=find_packages(),
package_data={
"pinax.referrals": [
"templates/pinax/referrals/*",
]
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Libraries :: Python Modules",
],
install_requires=[
"django>=2.2",
"django-appconf>=1.0.1",
],
test_suite="runtests.runtests",
tests_require=[
],
zip_safe=False
)