From 4d2a60782511233f23914f6393a37d7a93ed1bcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sat, 18 Jun 2022 09:57:01 +0200 Subject: [PATCH] Move to Poetry --- Pipfile | 12 ------------ Pipfile.lock | 43 ---------------------------------------- poetry.lock | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++ pyproject.toml | 16 +++++++++++++++ 4 files changed, 69 insertions(+), 55 deletions(-) delete mode 100644 Pipfile delete mode 100644 Pipfile.lock create mode 100644 poetry.lock create mode 100644 pyproject.toml diff --git a/Pipfile b/Pipfile deleted file mode 100644 index 7daa0cf..0000000 --- a/Pipfile +++ /dev/null @@ -1,12 +0,0 @@ -[[source]] -url = "https://pypi.org/simple" -verify_ssl = true -name = "pypi" - -[packages] -irc3 = "*" - -[dev-packages] - -[requires] -python_version = "3.9" diff --git a/Pipfile.lock b/Pipfile.lock deleted file mode 100644 index eee9531..0000000 --- a/Pipfile.lock +++ /dev/null @@ -1,43 +0,0 @@ -{ - "_meta": { - "hash": { - "sha256": "a2d7b3880bcd5122a42c9d5a0d2e5ade937786b9b36437bfefa0eba5ef0359fd" - }, - "pipfile-spec": 6, - "requires": { - "python_version": "3.9" - }, - "sources": [ - { - "name": "pypi", - "url": "https://pypi.org/simple", - "verify_ssl": true - } - ] - }, - "default": { - "docopt": { - "hashes": [ - "sha256:49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491" - ], - "version": "==0.6.2" - }, - "irc3": { - "hashes": [ - "sha256:088b7be88817dee5d02e7e06c9dbf503c8e807a8cccc9b36b5be419918574cf1", - "sha256:6800c8876a889736961e199e834dc9933244affa20d4da086fb4b47f76984e12" - ], - "index": "pypi", - "version": "==1.1.7" - }, - "venusian": { - "hashes": [ - "sha256:06e7385786ad3a15c70740b2af8d30dfb063a946a851dcb4159f9e2a2302578f", - "sha256:f6842b7242b1039c0c28f6feef29016e7e7dd3caaeb476a193acf737db31ee38" - ], - "markers": "python_version >= '3.5'", - "version": "==3.0.0" - } - }, - "develop": {} -} diff --git a/poetry.lock b/poetry.lock new file mode 100644 index 0000000..e3d4f03 --- /dev/null +++ b/poetry.lock @@ -0,0 +1,53 @@ +[[package]] +name = "docopt" +version = "0.6.2" +description = "Pythonic argument parser, that will make you smile" +category = "main" +optional = false +python-versions = "*" + +[[package]] +name = "irc3" +version = "1.1.7" +description = "plugable irc client library based on asyncio with DCC and SASL support" +category = "main" +optional = false +python-versions = "*" + +[package.dependencies] +docopt = "*" +venusian = ">=3.0" + +[package.extras] +test = ["pytest-asyncio", "pytest-aiohttp", "feedparser", "requests", "pysocks", "twitter", "aiocron", "redis", "pytest", "irc3-plugins-test"] +web = ["aiohttp"] + +[[package]] +name = "venusian" +version = "3.0.0" +description = "A library for deferring decorator actions" +category = "main" +optional = false +python-versions = ">=3.5" + +[package.extras] +docs = ["sphinx", "repoze.sphinx.autointerface"] +testing = ["pytest", "pytest-cov", "coverage"] + +[metadata] +lock-version = "1.1" +python-versions = "^3.7" +content-hash = "1d29e6d81c2ba0236771fc1ba673e7367e504279164d4f1556d492be4200f620" + +[metadata.files] +docopt = [ + {file = "docopt-0.6.2.tar.gz", hash = "sha256:49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491"}, +] +irc3 = [ + {file = "irc3-1.1.7-py3-none-any.whl", hash = "sha256:088b7be88817dee5d02e7e06c9dbf503c8e807a8cccc9b36b5be419918574cf1"}, + {file = "irc3-1.1.7.tar.gz", hash = "sha256:6800c8876a889736961e199e834dc9933244affa20d4da086fb4b47f76984e12"}, +] +venusian = [ + {file = "venusian-3.0.0-py3-none-any.whl", hash = "sha256:06e7385786ad3a15c70740b2af8d30dfb063a946a851dcb4159f9e2a2302578f"}, + {file = "venusian-3.0.0.tar.gz", hash = "sha256:f6842b7242b1039c0c28f6feef29016e7e7dd3caaeb476a193acf737db31ee38"}, +] diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..9c0276f --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,16 @@ +[tool.poetry] +name = "twason" +version = "1.0.0" +description = "The KISS Twitch bot" +authors = ["Jérôme Deuchnord "] +license = "AGPL-3.0-or-later" + +[tool.poetry.dependencies] +python = "^3.7" +irc3 = "^1.1.7" + +[tool.poetry.dev-dependencies] + +[build-system] +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api"