Skip to content

Commit e796a08

Browse files
Merge pull request #3 from MultiSafepay/develop
INTGRTN-874: PIP support added to wrapper
2 parents 1564532 + 6fb1e19 commit e796a08

File tree

6 files changed

+47
-9
lines changed

6 files changed

+47
-9
lines changed

.gitignore

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
multisafepay/resources/__pycache__/orders.cpython-37.pyc
2-
multisafepay/resources/__pycache__/__init__.cpython-37.pyc
3-
multisafepay/__pycache__/__init__.cpython-37.pyc
4-
.idea/workspace.xml
5-
.idea/untitled.iml
6-
.idea/modules.xml
7-
.idea/misc.xml
8-
.idea/encodings.xml
1+
/build
2+
/dist
3+
/*.egg-info
4+
/.eggs
95
*.pyc
106
*.xml
117
*.iml

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ MultiSafepay is a collecting payment service provider which means we take care o
1111
- Python 3.6 or higher
1212
- Packages: requests
1313
## Installation
14-
Clone this git repository and make sure you meet the requirements, installation through pip will be added in a future release.
14+
Clone this git repository or install the package with pip.
15+
16+
The following command can be used to install the latest released version of the client:
17+
```python
18+
pip install multisafepay
19+
```
1520
## Usage
1621
Setup the client for testing
1722
```python

multisafepay/__init__.py

Whitespace-only changes.

multisafepay/objects/__init__.py

Whitespace-only changes.

multisafepay/resources/__init__.py

Whitespace-only changes.

setup.py

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
from setuptools import find_packages, setup
2+
import os.path
3+
version = "0.2.0"
4+
ROOT_DIR = os.path.abspath(os.path.dirname(__file__))
5+
6+
7+
def readme():
8+
with open("README.md") as f:
9+
long_description = f.read()
10+
return long_description
11+
12+
13+
setup(
14+
name="multisafepay",
15+
version=version,
16+
license="MIT",
17+
long_description=readme(),
18+
long_description_content_type="text/markdown",
19+
packages=find_packages(),
20+
include_package_data=True,
21+
description="Python wrapper for the MultiSafepay API. The version prior 18/09/2019 is moved to the "
22+
"'mini-multisafepay' package.",
23+
author="MultiSafepay",
24+
author_email="integration@multisafepay.com",
25+
url="https://github.com/MultiSafepay/multisafepay-python-wrapper",
26+
keywords=["multisafepay", "wrapper", "payment","gateway","ideal","paypal","creditcard","gift cards",
27+
"sofort banking"],
28+
install_requires=[
29+
"requests",
30+
],
31+
classifiers=[
32+
"Programming Language :: Python :: 3",
33+
"Development Status :: 5 - Production/Stable",
34+
"Intended Audience :: Developers",
35+
"License :: OSI Approved :: MIT License",
36+
],
37+
)

0 commit comments

Comments
 (0)