Skip to content
This repository was archived by the owner on Jun 26, 2025. It is now read-only.

Commit 19ec03a

Browse files
nuhamozainiecleel
authored andcommitted
Setup.py update (#4)
* setup.py, minor fixes to create() and refund() and package security update. * passing only source to source builder instead of the whole payment object * setup.py mods * setup.py mods and some cleanup * semantic versioning
1 parent 2a8de6f commit 19ec03a

7 files changed

Lines changed: 8 additions & 164 deletions

File tree

moyasar/actions/create.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ class Create(Constructor):
77
def __init__(self, data):
88
super().__init__(**data)
99

10+
1011
@classmethod
1112
def create_url(cls):
1213
return f'{moyasar.resource_url(cls.__name__)}'.lower()

moyasar/actions/update.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import moyasar
2-
import json
32

43

54
class Update:

setup.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
long_description = fh.read()
55
setuptools.setup(
66
name="moyasar",
7-
version="0.6",
7+
version="0.6.0",
88
author="Moyasar",
99
author_email="developers@moyasar.com",
1010
description="Moyasar Python language wrapper",
@@ -17,4 +17,10 @@
1717
"License :: MIT License",
1818
"Operating System :: OS Independent",
1919
],
20+
install_requires=[
21+
'requests',
22+
'httpretty',
23+
'pytest'
24+
],
25+
download_url='https://github.com/moyasar/moyasar-python/archive/v0.6.0.tar.gz'
2026
)

tests/fixtures/invoice.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

tests/fixtures/invoices.json

Lines changed: 0 additions & 43 deletions
This file was deleted.

tests/fixtures/payment.json

Lines changed: 0 additions & 26 deletions
This file was deleted.

tests/fixtures/payments.json

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)