From 691d0b65db3b8501287b78bfda54d66c6bde50d4 Mon Sep 17 00:00:00 2001 From: gnongsie Date: Thu, 19 Sep 2024 20:31:03 +0530 Subject: [PATCH 1/4] Changed sample code branch to master --- .github/workflows/python-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-workflow.yml b/.github/workflows/python-workflow.yml index b84c9a0..870f33f 100644 --- a/.github/workflows/python-workflow.yml +++ b/.github/workflows/python-workflow.yml @@ -47,7 +47,7 @@ jobs: uses: actions/checkout@v4 with: repository: 'authorizenet/sample-code-python' - ref: 'future' # Remove this line before pushing to master branch + ref: 'master' path: ${{env.sample_code_python}} - name: Install Python From 8ceafb55d3ba1f8dbb4175bbe168aa62c21c7aaa Mon Sep 17 00:00:00 2001 From: gnongsie Date: Tue, 15 Apr 2025 16:07:35 +0530 Subject: [PATCH 2/4] Removed use of outdated setup.cfg --- DESCRIPTION.rst | 26 -------------------------- setup.cfg | 2 -- setup.py | 3 +++ 3 files changed, 3 insertions(+), 28 deletions(-) delete mode 100644 DESCRIPTION.rst delete mode 100644 setup.cfg diff --git a/DESCRIPTION.rst b/DESCRIPTION.rst deleted file mode 100644 index 69af45f..0000000 --- a/DESCRIPTION.rst +++ /dev/null @@ -1,26 +0,0 @@ -# sdk-python [![Build Status](https://magnum.travis-ci.com/egodolja/sdk-python.svg?token=9z5hnp59uHpbBpKa445s&branch=master)](https://magnum.travis-ci.com/egodolja/sdk-python) -Python SDK for the Authorize.Net API - -Python - demo version commit -06/25/2015 - -Installations --------------------------------------- -- python 2.7 -- pyxb 1.2.5 - *install python before pyxb - - -Generating classes from xsd --------------------------------------- -- run generateObjectsFromXSD.bat script - - -Testing Controllers --------------------------------------- -- each controller has its corresponding test -- results recorded in the log - -Testing demoTest --------------------------------------- -- uncomment the commented out helper function in ARBCreateSubscriptionController to run demoTest diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 68ebb3d..0000000 --- a/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[metadata] -description-file = DESCRIPTION.rst \ No newline at end of file diff --git a/setup.py b/setup.py index deb405b..efedf7a 100644 --- a/setup.py +++ b/setup.py @@ -10,6 +10,8 @@ here = path.abspath(path.dirname(__file__)) +with open(path.join(here, 'README.md'), encoding='utf-8') as f: + long_description = f.read() setup( name='authorizenet', @@ -20,6 +22,7 @@ version='1.1.5', description='Authorize.Net Python SDK', + long_description=long_description, # The project's main homepage. url='https://github.com/AuthorizeNet/sdk-python', From 59350cdfad24b7325c015553132582fa05e0b898 Mon Sep 17 00:00:00 2001 From: gnongsie Date: Mon, 28 Apr 2025 11:41:02 +0530 Subject: [PATCH 3/4] Upgrade to new version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index efedf7a..7bc8fb9 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ # Versions should comply with PEP440. For a discussion on single-sourcing # the version across setup.py and the project code, see # https://packaging.python.org/en/latest/single_source_version.html - version='1.1.5', + version='1.1.6', description='Authorize.Net Python SDK', long_description=long_description, From 2d7ee348c55216e2289662c8b45f134dc09ca816 Mon Sep 17 00:00:00 2001 From: gnongsie Date: Mon, 28 Apr 2025 12:05:08 +0530 Subject: [PATCH 4/4] Corrected content type of description --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 7bc8fb9..f384046 100644 --- a/setup.py +++ b/setup.py @@ -23,6 +23,7 @@ description='Authorize.Net Python SDK', long_description=long_description, + long_description_content_type='text/markdown', # The project's main homepage. url='https://github.com/AuthorizeNet/sdk-python',