lib-not-dr/pyproject.toml

89 lines
2.0 KiB
TOML
Raw Normal View History

2023-06-24 20:30:01 +08:00
[project]
name = "lib-not-dr"
description = "A python lib created from Difficult Rocket development"
readme = "README.md"
authors = [
{name = "shenjackyuanjie", email = "3695888@qq.com"}
]
2023-06-24 20:30:01 +08:00
requires-python = ">=3.8"
classifiers = [
"Intended Audience :: Developers",
# Python 3 支持版本.
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
# Python 实现.
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
# 系统支持.
2023-06-24 20:30:01 +08:00
"Operating System :: OS Independent",
]
2023-06-24 21:01:09 +08:00
license = { file = "LICENSE" }
dynamic = ["version"]
2023-11-25 03:18:18 +08:00
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
2023-11-25 03:18:18 +08:00
#[tool.setuptools]
#packages = ["lib_not_dr", "lndl_nuitka"]
#[tool.setuptools.packages.find]
#namespaces = false
#include = [
# "lib_not_dr",
# "lndl_nuitka"
#]
#where = ["."]
#[tool.setuptools.package-dir]
#lib_not_dr = "lib_not_dr"
#lndl_nuitka = "lndl_nuitka"
2023-11-25 03:33:48 +08:00
[project.optional-dependencies]
2023-11-25 18:01:53 +08:00
nuitka = [
"tomli >= 2.0.1",
"nuitka", # any version
]
2023-11-25 03:33:48 +08:00
[tool.setuptools.dynamic]
version = { attr = "lib_not_dr.__version__"}
2023-06-25 02:21:41 +08:00
[project.urls]
Homepage = "https://github.com/shenjackyuanjie/lib-not-dr"
Repository = "https://github.com/shenjackyuanjie/lib-not-dr"
Changelog = "https://github.com/shenjackyuanjie/lib-not-dr/blob/main/docs/change_log.md"
[project.scripts]
lndl_nuitka = "lndl_nuitka:main"
2023-07-11 14:02:05 +08:00
[tool.ruff]
target-version = "py38"
2023-12-03 16:36:01 +08:00
line-length = 80
2023-07-11 14:02:05 +08:00
src = [
2023-11-25 03:18:18 +08:00
"src",
2023-07-11 14:02:05 +08:00
]
2023-11-25 16:21:01 +08:00
2023-12-03 16:29:04 +08:00
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"W", # pycodestyle
]
2023-12-03 16:36:01 +08:00
ignore = ["I001"] # do not sort my imports
2023-12-03 16:29:04 +08:00
[tool.ruff.lint.isort]
force-single-line = false
force-wrap-aliases = false
2023-12-03 16:36:01 +08:00
combine-as-imports = false
2023-12-03 16:29:04 +08:00
2023-11-25 16:21:01 +08:00
[tool.lndl.nuitka]
main = "test-only.py"
onefile = false
standalone = true