mirror of
https://github.com/KevinMidboe/delugeClient.git
synced 2025-10-28 19:40:12 +00:00
Updated for python 3.10
This commit is contained in:
@@ -9,6 +9,6 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: Build package
|
||||
image: python:3.8
|
||||
image: python:3.10
|
||||
commands:
|
||||
- make build
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
| Tested version | PyPi package | Drone CI |
|
||||
|:--------|:------|:------|
|
||||
| [](https://www.python.org/downloads/release/python-380/) | [](https://pypi.org/project/delugeClient_kevin/) | [](https://drone.schleppe.cloud/KevinMidboe/delugeClient)
|
||||
| [](https://www.python.org/downloads/release/python-3100/) | [](https://pypi.org/project/delugeClient_kevin/) | [](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.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python3.6
|
||||
#!/usr/bin/env python3.10
|
||||
# -*- encoding: utf-8 -*-
|
||||
|
||||
from sys import path
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python3.6
|
||||
#!/usr/bin/env python3.10
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python3.6
|
||||
#!/usr/bin/env python3.10
|
||||
|
||||
import os
|
||||
import re
|
||||
|
||||
@@ -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
|
||||
|
||||
6
setup.py
6
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': [
|
||||
|
||||
Reference in New Issue
Block a user