-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
50 lines (45 loc) · 1.79 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
from setuptools import setup
from os import path
def fetch_long_description():
"""Loads the `long_description` from README.md."""
this_directory = path.abspath(path.dirname(__file__))
try:
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as readme_file:
return readme_file.read()
except FileNotFoundError:
return 'See https://github.com/paypay/paypayopa-sdk-python'
setup(
name="paypayopa",
version="0.0.0",
description="PayPay OPA SDK",
long_description=fetch_long_description(),
long_description_content_type='text/markdown',
author="Team PayPay",
author_email="[email protected]",
license="Apache 2.0",
project_urls={
'Documentation': 'https://github.com/paypay/paypayopa-sdk-python/README.md',
'Source': 'https://github.com/paypay/paypayopa-sdk-python',
},
install_requires=["requests", "pyjwt"],
extras_require={
'test': ['responses'],
},
include_package_data=True,
package_dir={'paypayopa': 'paypayopa',
'paypayopa.resources': 'paypayopa/resources',
'paypayopa.constants': 'paypayopa/constants'},
packages=['paypayopa', 'paypayopa.resources', 'paypayopa.constants'],
keywords='paypay payment gateway japan',
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
# List of supported Python versions
# Make sure that this is reflected in .travis.yml as well
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
"Topic :: Software Development :: Libraries :: Python Modules",
]
)