This repository has been archived by the owner on Oct 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
/
setup.py
54 lines (48 loc) · 1.39 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
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-rest-framework-stripe"
DESCRIPTION = "Django REST Framework wrapper of the payments Django app for Stripe"
AUTHOR = "Mohammed Hammoud"
AUTHOR_EMAIL = "mohammed@iktw.se"
URL = "https://github.com/iktw/django-rest-framework-stripe"
setup(
name=NAME,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
description=DESCRIPTION,
long_description=read("README.rst"),
version="1.0.0",
license="MIT",
url=URL,
packages=find_packages(),
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"
"Programming Language :: Python :: 3",
"Framework :: Django",
],
install_requires=[
"stripe>=1.7.9",
"django>=1.6",
"pytz",
"six",
"djangorestframework>=3.1.1",
"jsonfield>=1.0.3",
],
test_suite="runtests.runtests",
tests_require=[
"mock",
],
zip_safe=False,
)