diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index eacf91d..2e179cc 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -12,12 +12,11 @@ on: jobs: build: - # Use ubuntu-20.04 since ubuntu-22.04 doesn't support python 3.6 - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: fail-fast: false matrix: - python-version: [3.6, 3.7, 3.8, 3.9, '3.10', 3.11] + python-version: [3.7, 3.8, 3.9, '3.10', 3.11] steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index 6fa3dcc..c7e8840 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ from opengsq.protocols import ( ## Requirements -- Python 3.6 or higher +- Python 3.7 or higher ## Installation @@ -53,12 +53,6 @@ The recommended installation method is using [pip](http://pip-installer.org/): pip install --upgrade opengsq ``` -or, install from source manually with: - -```sh -python setup.py install -``` - ## Usage Here’s an example of how to query a server using the Source protocol: diff --git a/docs/install.rst b/docs/install.rst index dd9af02..325263f 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -1,14 +1,13 @@ Installation ============ -You can install the OpenGSQ library using pip: - -.. code-block:: console +Requirements +------------ - (.venv) $ pip install --upgrade opengsq +- Python 3.7 or higher -Alternatively, you can install from source manually: +You can install the OpenGSQ library using pip: .. code-block:: console - (.venv) $ python setup.py install + (.venv) $ pip install --upgrade opengsq diff --git a/opengsq/version.py b/opengsq/version.py index 1c4ddd3..4eb28e3 100644 --- a/opengsq/version.py +++ b/opengsq/version.py @@ -1 +1 @@ -__version__ = '2.3.1' +__version__ = '3.0.0' diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..d1e6ae6 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,2 @@ +[build-system] +requires = ["setuptools", "wheel"] diff --git a/setup.py b/setup.py index 132f7f1..973f485 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ install_requires=install_requires, entry_points={'console_scripts': ['opengsq=opengsq.cli:main']}, packages=find_packages(exclude=['tests', 'tests.*']), - python_requires='>=3.6', + python_requires='>=3.7', url='https://github.com/opengsq/opengsq-python', project_urls={ 'Bug Tracker': 'https://github.com/opengsq/opengsq-python/issues', @@ -41,7 +41,6 @@ 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9',