forked from glim/rest-api-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (41 loc) · 1.69 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
from distutils.core import setup
import sys, os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'paypalrestsdk'))
from config import __version__, __pypi_packagename__, __github_username__, __github_reponame__
long_description="""
The PayPal REST SDK provides Python APIs to create, process and manage payments.
1. https://github.com/paypal/PayPal-Python-SDK/ - README and Samples
2. https://developer.paypal.com/webapps/developer/docs/api/ - API Reference
"""
license='PayPal SDK License'
if os.path.exists('LICENSE.md'):
license = open('LICENSE.md').read()
url='https://github.com/' + __github_username__ + '/' + __github_reponame__
setup(
name=__pypi_packagename__,
version= __version__,
author='PayPal',
author_email='DL-PP-PYTHON-SDK@ebay.com',
packages=['paypalrestsdk'],
scripts=[],
url=url,
license=license,
description='The PayPal REST SDK provides Python APIs to create, process and manage payments.',
long_description=long_description,
install_requires=['requests>=1.0.0', 'six>=1.0.0', 'pyopenssl>=0.14'],
classifiers=[
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords=['paypal', 'rest', 'sdk', 'payments', 'invoice', 'subscription', 'webhook']
)