🔧 Update project configuration.

This commit is contained in:
Karako 2023-04-02 16:46:05 +08:00
parent b2f3b254a9
commit f83a6361b1
No known key found for this signature in database
GPG Key ID: 5920831B0095D4A0
2 changed files with 54 additions and 4 deletions

37
poetry.lock generated
View File

@ -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"

View File

@ -5,14 +5,29 @@ description = "A logger for PaiGram's projects."
authors = ["Karako <karakohear@gmail.com>"]
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"
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"