From 2bbf175c2a2757d7e613940138c640f827d75303 Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Thu, 24 Nov 2022 00:11:57 +0100 Subject: [PATCH] Updated for python 3.10 --- .drone.yml | 2 +- README.md | 6 +++--- delugeClient/__init__.py | 2 +- delugeClient/__main__.py | 2 +- delugeClient/deluge.py | 2 +- delugeClient/utils.py | 2 +- setup.py | 6 +++--- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.drone.yml b/.drone.yml index ae822ec..1627e28 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,6 +9,6 @@ platform: steps: - name: Build package - image: python:3.8 + image: python:3.10 commands: - make build diff --git a/README.md b/README.md index d4bfbc3..423e8de 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ | Tested version | PyPi package | Drone CI | |:--------|:------|:------| -| [![PyVersion](https://img.shields.io/badge/python-3.8-blue.svg)](https://www.python.org/downloads/release/python-380/) | [![PyPI](https://img.shields.io/pypi/v/delugeClient_kevin)](https://pypi.org/project/delugeClient_kevin/) | [![Build Status](https://drone.schleppe.cloud/api/badges/KevinMidboe/delugeClient/status.svg)](https://drone.schleppe.cloud/KevinMidboe/delugeClient) +| [![PyVersion](https://img.shields.io/badge/python-3.10-blue.svg)](https://www.python.org/downloads/release/python-3100/) | [![PyPI](https://img.shields.io/pypi/v/delugeClient_kevin)](https://pypi.org/project/delugeClient_kevin/) | [![Build Status](https://drone.schleppe.cloud/api/badges/KevinMidboe/delugeClient/status.svg)](https://drone.schleppe.cloud/KevinMidboe/delugeClient) | Known vulnerabilities | License | @@ -52,10 +52,10 @@ After you have downloaded this project go to it in your terminal by going to the The to setup a virtual environment enter this: ``` - $ virtualenv -p python3.6 env + $ virtualenv -p python3.10 env ``` - > If you get an error now it might be because you don't have python3.6, please make sure you have python version 3.6 if else you can download it from [here](https://www.python.org/downloads/) + > If you get an error now it might be because you don't have python3.10, please make sure you have python version 3.10 if else you can download it from [here](https://www.python.org/downloads/) First we navigate to the folder we downloaded. diff --git a/delugeClient/__init__.py b/delugeClient/__init__.py index a6e1957..7672d56 100644 --- a/delugeClient/__init__.py +++ b/delugeClient/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.6 +#!/usr/bin/env python3.10 # -*- encoding: utf-8 -*- from sys import path diff --git a/delugeClient/__main__.py b/delugeClient/__main__.py index 7edd0fe..d4a5e13 100644 --- a/delugeClient/__main__.py +++ b/delugeClient/__main__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.6 +#!/usr/bin/env python3.10 import os import sys diff --git a/delugeClient/deluge.py b/delugeClient/deluge.py index dfe6d70..1e883d8 100644 --- a/delugeClient/deluge.py +++ b/delugeClient/deluge.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.6 +#!/usr/bin/env python3.10 import os import re diff --git a/delugeClient/utils.py b/delugeClient/utils.py index 8b2cad1..46fcc70 100644 --- a/delugeClient/utils.py +++ b/delugeClient/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.10 # -*- coding: utf-8 -*- # @Author: kevinmidboe # @Date: 2018-04-17 19:55:38 diff --git a/setup.py b/setup.py index 5e09c6d..c6d30b4 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.10 # -*- encoding: utf-8 -*- from setuptools import setup, find_packages from sys import path @@ -16,7 +16,7 @@ setup( package_data={ 'delugeClient': ['default_config.ini'], }, - python_requires=">=3.6", + python_requires=">=3.10", author="KevinMidboe", description="Deluge client with custom functions written in python", long_description=long_description, @@ -33,7 +33,7 @@ setup( classifiers=[ 'Programming Language :: Python', 'Operating System :: OS Independent', - 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.10', ], entry_points={ 'console_scripts': [