diff --git a/README.md b/README.md index fb39ca5..9528a27 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,6 @@ # A Python SDK for OBS Studio WebSocket v5.0 -This is a wrapper around OBS Websocket. Not all endpoints in the official documentation are implemented. ## Requirements @@ -13,7 +12,7 @@ Not all endpoints in the official documentation are implemented. - [OBS Studio](https://obsproject.com/) - [OBS Websocket v5 Plugin](https://github.com/obsproject/obs-websocket/releases/tag/5.0.0) - With the release of OBS Studio version 28, Websocket plugin is included by default. But it should be manually installed for earlier versions of OBS. -- Python 3.10 or greater +- Python 3.9 or greater ### How to install using pip diff --git a/obsws_python/version.py b/obsws_python/version.py index d28b3dd..d619c75 100644 --- a/obsws_python/version.py +++ b/obsws_python/version.py @@ -1 +1 @@ -version = "1.3.0" +version = "1.4.0" diff --git a/pyproject.toml b/pyproject.toml index 812c68a..287fdf5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ dynamic = ["version"] description = "A Python SDK for OBS Studio WebSocket v5.0" readme = "README.md" license = "GPL-3.0-only" -requires-python = ">=3.10" +requires-python = ">=3.9" authors = [ { name = "Adem Atikturk", email = "aatikturk@gmail.com" }, ] @@ -37,7 +37,18 @@ include = [ ] [tool.hatch.envs.e.scripts] -events = "py {root}\\examples\\events\\." -hotkeys = "py {root}\\examples\\hotkeys\\." -levels = "py {root}\\examples\\levels\\." -scene_rotate = "py {root}\\examples\\scene_rotate\\." +events = "python {root}\\examples\\events\\." +hotkeys = "python {root}\\examples\\hotkeys\\." +levels = "python {root}\\examples\\levels\\." +scene_rotate = "python {root}\\examples\\scene_rotate\\." + +[tool.hatch.envs.test] +dependencies = [ + "pytest", +] + +[tool.hatch.envs.test.scripts] +run = 'pytest -v' + +[[tool.hatch.envs.test.matrix]] +python = ["39", "310", "311"] diff --git a/setup.py b/setup.py index 4b369e1..b157c07 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ EXTRAS_REQUIRE = { } # Python version requirement -PYTHON_REQUIRES = ">=3.10" +PYTHON_REQUIRES = ">=3.9" setup( name=PACKAGE_NAME,