diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 62c2164..d97e33a 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v3 - name: Setup Python diff --git a/.github/workflows/test-runner.yml b/.github/workflows/test-runner.yml index 465fbb4..d243dc2 100644 --- a/.github/workflows/test-runner.yml +++ b/.github/workflows/test-runner.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v3 - name: Setup Python diff --git a/README.md b/README.md index 56694f2..283cc2e 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ The APIMatic Core libraries provide a stable runtime that powers all the functio ## Installation -You will need Python 3.7+ to support this package. +You will need Python 3.8+ to support this package. Simply run the command below to install the core library in your SDK. The core library will be added as a dependency your SDK. diff --git a/setup.py b/setup.py index c620b96..aae5904 100644 --- a/setup.py +++ b/setup.py @@ -1,37 +1,29 @@ # -*- coding: utf-8 -*- -import sys from setuptools import setup, find_packages -if sys.version_info[0] < 3: - with open('README.md', 'r') as fh: - long_description = fh.read() -else: - with open('README.md', 'r', encoding='utf-8') as fh: - long_description = fh.read() +with open("README.md", "r", encoding="utf-8") as fh: + long_description = fh.read() setup( - name='apimatic-core', - version='0.2.18', - description='A library that contains core logic and utilities for ' - 'consuming REST APIs using Python SDKs generated by APIMatic.', + name="apimatic-core", + version="0.2.18", + description="A library that contains core logic and utilities for " + "consuming REST APIs using Python SDKs generated by APIMatic.", long_description=long_description, long_description_content_type="text/markdown", - author='APIMatic', - author_email='support@apimatic.io', - license='MIT', - url='https://github.com/apimatic/core-lib-python', + author="APIMatic", + author_email="support@apimatic.io", + license="MIT", + url="https://github.com/apimatic/core-lib-python", packages=find_packages(), install_requires=[ - 'apimatic-core-interfaces~=0.1.0', - 'jsonpickle~=3.3.0', - 'python-dateutil~=2.8', - 'requests~=2.31', - 'setuptools>=68.0.0', - 'jsonpointer~=2.3' + "apimatic-core-interfaces~=0.1.0", + "jsonpickle~=3.3.0", + "python-dateutil~=2.8", + "requests~=2.31", + "setuptools>=68.0.0", + "jsonpointer~=2.3", ], - tests_require=[ - 'pytest~=7.2.2', - 'pytest-cov~=4.0.0' - ] + tests_require=["pytest~=7.2.2", "pytest-cov~=4.0.0"], )