From f83a6361b16143e774c2e48b521e8ee1ef30a504 Mon Sep 17 00:00:00 2001 From: Karako Date: Sun, 2 Apr 2023 16:46:05 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Update=20project=20configuration?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- poetry.lock | 37 ++++++++++++++++++++++++++++++++++++- pyproject.toml | 21 ++++++++++++++++++--- 2 files changed, 54 insertions(+), 4 deletions(-) diff --git a/poetry.lock b/poetry.lock index 9a4b4a2..6aa2f08 100644 --- a/poetry.lock +++ b/poetry.lock @@ -25,6 +25,11 @@ profiling = ["gprof2dot"] rtd = ["attrs", "myst-parser", "pyyaml", "sphinx", "sphinx-copybutton", "sphinx-design", "sphinx_book_theme"] testing = ["coverage", "pytest", "pytest-cov", "pytest-regressions"] +[package.source] +type = "legacy" +url = "https://pypi.python.org/simple" +reference = "official-pypi" + [[package]] name = "mdurl" version = "0.1.2" @@ -37,6 +42,11 @@ files = [ {file = "mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba"}, ] +[package.source] +type = "legacy" +url = "https://pypi.python.org/simple" +reference = "official-pypi" + [[package]] name = "pydantic" version = "1.10.7" @@ -91,6 +101,11 @@ typing-extensions = ">=4.2.0" dotenv = ["python-dotenv (>=0.10.4)"] email = ["email-validator (>=1.0.3)"] +[package.source] +type = "legacy" +url = "https://pypi.python.org/simple" +reference = "official-pypi" + [[package]] name = "pygments" version = "2.14.0" @@ -106,6 +121,11 @@ files = [ [package.extras] plugins = ["importlib-metadata"] +[package.source] +type = "legacy" +url = "https://pypi.python.org/simple" +reference = "official-pypi" + [[package]] name = "python-dotenv" version = "1.0.0" @@ -121,6 +141,11 @@ files = [ [package.extras] cli = ["click (>=5.0)"] +[package.source] +type = "legacy" +url = "https://pypi.python.org/simple" +reference = "official-pypi" + [[package]] name = "rich" version = "13.3.3" @@ -141,6 +166,11 @@ typing-extensions = {version = ">=4.0.0,<5.0", markers = "python_version < \"3.9 [package.extras] jupyter = ["ipywidgets (>=7.5.1,<9)"] +[package.source] +type = "legacy" +url = "https://pypi.python.org/simple" +reference = "official-pypi" + [[package]] name = "typing-extensions" version = "4.5.0" @@ -153,7 +183,12 @@ files = [ {file = "typing_extensions-4.5.0.tar.gz", hash = "sha256:5cb5f4a79139d699607b3ef622a1dedafa84e115ab0024e0d9c044a9479ca7cb"}, ] +[package.source] +type = "legacy" +url = "https://pypi.python.org/simple" +reference = "official-pypi" + [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "5cb479a55e4a5c3a8ceb1e1d7d046b882bf3014fdcf50928a34e94cf25a332f7" +content-hash = "756233ebb4778da0f3caadb63a7ecfbdc62f16c380bbe4d75ddd125f0c19d9c5" diff --git a/pyproject.toml b/pyproject.toml index 4a22671..80e75c6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,14 +5,29 @@ description = "A logger for PaiGram's projects." authors = ["Karako "] license = "MIT" readme = "README.md" -packages = [{include = "paigram_logger"}] +packages = [{ include = "pg_logger", from = "src" }] +include = ["LICENSE"] +classifiers = [ + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: Implementation :: CPython", + "Topic :: Software Development :: Libraries :: Python Modules", +] [tool.poetry.dependencies] python = "^3.8" -rich = "^13.3.3" -pydantic = {extras = ["dotenv"], version = "^1.10.7"} +rich = "^13.3.0" +pydantic = { extras = ["dotenv"], version = "^1.10.7" } [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" + +[[tool.poetry.source]] +name = "official-pypi" +url = "https://pypi.python.org/simple"