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:
- name: Build package
image: python:3.8
image: python:3.10
commands:
- make build

View File

@@ -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.

View File

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

View File

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

View File

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

View File

@@ -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

View File

@@ -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': [