mirror of
https://github.com/Nanaloveyuki/py-logiliteal.git
synced 2025-09-03 18:16:22 +00:00
🚀 发布了Beta0.1.0测试版
This commit is contained in:
3
pyproject.toml
Normal file
3
pyproject.toml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[build-system]
|
||||||
|
requires = ["setuptools>=61.0", "wheel"]
|
||||||
|
build-backend = "setuptools.build_meta"
|
35
setup.py
Normal file
35
setup.py
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
from setuptools import setup, find_packages
|
||||||
|
import pathlib
|
||||||
|
|
||||||
|
here = pathlib.Path(__file__).parent.resolve()
|
||||||
|
long_description = (here / "README.md").read_text(encoding="utf-8")
|
||||||
|
|
||||||
|
setup(
|
||||||
|
name="logiliteal",
|
||||||
|
version="0.1.0",
|
||||||
|
description="简洁,高扩展性,可自定义的日志库 / Simple, high extensibility, and customizable logging library",
|
||||||
|
long_description=long_description,
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
|
url="https://github.com/Nanaloveyuki/py-logiliteal",
|
||||||
|
author="Nanaloveyuki",
|
||||||
|
author_email="3541766758@qq.com",
|
||||||
|
license="MIT",
|
||||||
|
classifiers=[
|
||||||
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||||
|
"Development Status :: 4 - Beta",
|
||||||
|
"Intended Audience :: Developers",
|
||||||
|
"Programming Language :: Python :: 3.12",
|
||||||
|
"Programming Language :: Python :: 3.13",
|
||||||
|
"Operating System :: OS Independent",
|
||||||
|
],
|
||||||
|
keywords="logging, color, format",
|
||||||
|
package_dir={"": "src"},
|
||||||
|
packages=find_packages(where="src"),
|
||||||
|
python_requires=">=3.12, <4",
|
||||||
|
install_requires=[],
|
||||||
|
project_urls={
|
||||||
|
"Bug Reports": "https://github.com/Nanaloveyuki/py-logiliteal/issues",
|
||||||
|
"Source": "https://github.com/Nanaloveyuki/py-logiliteal/",
|
||||||
|
},
|
||||||
|
)
|
||||||
|
|
@ -8,6 +8,4 @@ Log level module
|
|||||||
|
|
||||||
from .levels import Logger
|
from .levels import Logger
|
||||||
|
|
||||||
__all__ = [
|
__all__ = ["Logger"]
|
||||||
"Logger"
|
|
||||||
]
|
|
4
tests/t-module.py
Normal file
4
tests/t-module.py
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
from logiliteal import Logger
|
||||||
|
log = Logger()
|
||||||
|
|
||||||
|
log.info("hello world")
|
Reference in New Issue
Block a user