Skip to content

Commit b14a031

Browse files
committed
migrate to pyproject.toml
1 parent b27c76e commit b14a031

File tree

6 files changed

+64
-77
lines changed

6 files changed

+64
-77
lines changed

.flake8

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[flake8]
2+
ignore = E501,E402,W503,E266,E203

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
14+
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"]
1515

1616
steps:
1717
- uses: actions/checkout@v2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Later, I can reconstruct whether or not a file was paused/playing based on the e
88

99
### Install
1010

11-
Requires `python3.8+`
11+
Requires `python3.9+`
1212

1313
pip install mpv-history-daemon
1414

pyproject.toml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
[project]
2+
name = "mpv_history_daemon"
3+
version = "0.2.6"
4+
description = "Daemon which connects to active mpv instances, saving a history of what I watch/listen to"
5+
readme = "README.md"
6+
license = "MIT"
7+
license-files = ["LICENSE"]
8+
requires-python = ">=3.9"
9+
classifiers = [
10+
"Development Status :: 3 - Alpha",
11+
"Intended Audience :: End Users/Desktop",
12+
"Natural Language :: English",
13+
"Programming Language :: Python :: 3",
14+
"Programming Language :: Python :: 3 :: Only",
15+
"Programming Language :: Python :: 3.9",
16+
"Programming Language :: Python :: 3.10",
17+
"Programming Language :: Python :: 3.11",
18+
"Programming Language :: Python :: 3.12",
19+
]
20+
dependencies = [
21+
"click>=8.1",
22+
"logzero",
23+
"python-mpv-jsonipc",
24+
"simplejson",
25+
"kompress",
26+
]
27+
[[project.authors]]
28+
name = "purarue"
29+
30+
[build-system]
31+
requires = ["setuptools"]
32+
build-backend = "setuptools.build_meta"
33+
34+
[project.scripts]
35+
mpv-history-daemon = "mpv_history_daemon.__main__:cli"
36+
37+
[project.urls]
38+
Homepage = "https://github.com/purarue/mpv_history_daemon"
39+
40+
[project.optional-dependencies]
41+
optional = ["orjson"]
42+
testing = ["flake8", "mypy"]
43+
44+
[tool.mypy]
45+
pretty = "True"
46+
disallow_any_generics = "False"
47+
show_error_context = "True"
48+
show_error_codes = "True"
49+
namespace_packages = "True"
50+
disallow_subclassing_any = "True"
51+
disallow_incomplete_defs = "True"
52+
no_implicit_optional = "True"
53+
warn_redundant_casts = "True"
54+
warn_return_any = "True"
55+
warn_unreachable = "True"
56+
check_untyped_defs = "True"
57+
disallow_untyped_calls = "True"
58+
59+
[tool.setuptools.packages.find]
60+
include = ["mpv_history_daemon"]

setup.cfg

Lines changed: 0 additions & 71 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)