Skip to content

Commit 4924232

Browse files
committed
Update README and pyproject
1 parent e6b013b commit 4924232

2 files changed

Lines changed: 14 additions & 10 deletions

File tree

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# qasync
22

3-
[![Maintenance](https://img.shields.io/maintenance/yes/2023)](https://pypi.org/project/qasync)
3+
[![Maintenance](https://img.shields.io/maintenance/yes/2025)](https://pypi.org/project/qasync)
44
[![PyPI](https://img.shields.io/pypi/v/qasync)](https://pypi.org/project/qasync)
55
[![PyPI - License](https://img.shields.io/pypi/l/qasync)](/LICENSE)
66
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/qasync)](https://pypi.org/project/qasync)
@@ -18,11 +18,13 @@ If you need some CPU-intensive tasks to be executed in parallel, `qasync` also g
1818
### Basic Example
1919

2020
```python
21-
import sys
2221
import asyncio
22+
import sys
23+
24+
from PySide6.QtWidgets import QVBoxLayout, QWidget
25+
26+
from qasync import QApplication, QEventLoop
2327

24-
from qasync import QEventLoop, QApplication
25-
from PySide6.QtWidgets import QWidget, QVBoxLayout
2628

2729
class MainWindow(QWidget):
2830
def __init__(self):

pyproject.toml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ authors = [
66
"Arve Knudsen <arve.knudsen@gmail.com>",
77
"Gerard Marull-Paretas <gerard@teslabs.com>",
88
"Mark Harviston <mark.harviston@gmail.com>",
9+
"Alex March <alexmarch@fastmail.com>",
910
"Sam McCormack",
1011
]
1112
maintainers = ["Alex March <alexmach@fastmail.com>"]
@@ -15,17 +16,20 @@ homepage = "https://github.com/CabbageDevelopment/qasync"
1516
repository = "https://github.com/CabbageDevelopment/qasync"
1617
keywords = ["Qt", "asncio"]
1718
classifiers = [
18-
"Development Status :: 4 - Beta",
19+
"Development Status :: 5 - Production/Stable",
1920
"Environment :: X11 Applications :: Qt",
2021
"Intended Audience :: Developers",
2122
"Operating System :: MacOS",
23+
"Operating System :: MacOS :: MacOS X",
2224
"Operating System :: Microsoft",
25+
"Operating System :: Microsoft :: Windows",
2326
"Operating System :: POSIX",
27+
"Operating System :: POSIX :: Linux",
2428
"Topic :: Software Development :: Libraries :: Python Modules",
2529
]
2630

2731
[tool.poetry.dependencies]
28-
python = "^3.8"
32+
python = ">=3.8, <3.12"
2933

3034
[tool.poetry.group.dev.dependencies]
3135
pre-commit = "^2.21"
@@ -48,9 +52,7 @@ pytest-github-actions-annotate-failures = "^0.1.7"
4852
requires = ["poetry-core>=1.5.0"]
4953
build-backend = "poetry.core.masonry.api"
5054

51-
[tool.pytest]
52-
addopts = "-n auto"
53-
testpaths = ["tests"]
54-
5555
[tool.pytest.ini_options]
56+
addopts = "-n auto"
5657
markers = ["raises"]
58+
testpaths = ["tests"]

0 commit comments

Comments
 (0)