From 41042fd67a359062b48f4ddbe3e03c6d197fcaaa Mon Sep 17 00:00:00 2001 From: Ryan Snodgrass Date: Mon, 29 Jan 2024 00:01:53 -0800 Subject: [PATCH] update --- .../{python-publish.yml => pypi-publish.yml} | 4 +++ pyproject.toml | 26 ++++++++++++++++--- 2 files changed, 27 insertions(+), 3 deletions(-) rename .github/workflows/{python-publish.yml => pypi-publish.yml} (88%) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/pypi-publish.yml similarity index 88% rename from .github/workflows/python-publish.yml rename to .github/workflows/pypi-publish.yml index bdaab28..c303914 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -6,6 +6,10 @@ # separate terms of service, privacy policy, and support # documentation. + +# See Alos: +# https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/ + name: Upload Python Package on: diff --git a/pyproject.toml b/pyproject.toml index 035340e..ed1332c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,18 +1,38 @@ -#[project] +[project] +name = "pyavcontrol" +version = "0.1.0" +requires-python = ">=3.10" +description = "Python Control of Audio/Visual Equipment via RS232/IP" +readme = "README.md" +classifiers = [ + # How mature is this project? Common values are + # 3 - Alpha + # 4 - Beta + # 5 - Production/Stable + "Development Status :: 3 - Alpha", + "Programming Language :: Python", + "License :: OSI Approved :: MIT License", +] +authors = [ { name="Ryan Snodgrass", email="rsnodgrass@gmail.com" } ] + [tool.poetry] name = "pyavcontrol" version = "0.1.0" -description = "Python Control of RS232/IP Audio/Visual Equipment" +description = "Python Control of Audio/Visual Equipment via RS232/IP" readme = "README.md" license = "LICENSE" authors = [ "Ryan Snodgrass " ] - [tool.poetry.dependencies] python = "^3.10" pyserial = "^3.5" pyserial-asyncio = "^0.6" ratelimit = "^2.2.1" +pyyaml = "^6.0.1" + +[tool.poetry.group.dev.dependencies] +coloredlogs = "^15.0.1" +pytest = "^8.0.0" [build-system] requires = ["poetry-core>=1.0.0"]