Updated for python 3.10

This commit is contained in:
2022-11-24 00:11:57 +01:00
parent 8597615e68
commit 2bbf175c2a
7 changed files with 11 additions and 11 deletions

View File

@@ -9,6 +9,6 @@ platform:
steps: steps:
- name: Build package - name: Build package
image: python:3.8 image: python:3.10
commands: commands:
- make build - make build

View File

@@ -6,7 +6,7 @@
| Tested version | PyPi package | Drone CI | | 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 | | 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: 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. First we navigate to the folder we downloaded.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python3.6 #!/usr/bin/env python3.10
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
from sys import path from sys import path

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python3.6 #!/usr/bin/env python3.10
import os import os
import sys import sys

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python3.6 #!/usr/bin/env python3.10
import os import os
import re import re

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/env python3.10
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# @Author: kevinmidboe # @Author: kevinmidboe
# @Date: 2018-04-17 19:55:38 # @Date: 2018-04-17 19:55:38

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/env python3.10
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
from setuptools import setup, find_packages from setuptools import setup, find_packages
from sys import path from sys import path
@@ -16,7 +16,7 @@ setup(
package_data={ package_data={
'delugeClient': ['default_config.ini'], 'delugeClient': ['default_config.ini'],
}, },
python_requires=">=3.6", python_requires=">=3.10",
author="KevinMidboe", author="KevinMidboe",
description="Deluge client with custom functions written in python", description="Deluge client with custom functions written in python",
long_description=long_description, long_description=long_description,
@@ -33,7 +33,7 @@ setup(
classifiers=[ classifiers=[
'Programming Language :: Python', 'Programming Language :: Python',
'Operating System :: OS Independent', 'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.10',
], ],
entry_points={ entry_points={
'console_scripts': [ 'console_scripts': [