-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
60 lines (55 loc) · 1.74 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[tool.poetry]
name = "simplelogging"
version = "0.12.0"
description = "Logging made simple, no excuse for any debug print call."
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: 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",
"Topic :: Utilities",
]
authors = ["Vincent Poulailleau <[email protected]>"]
readme = "README.md"
repository = "https://github.com/vpoulailleau/simplelogging"
homepage = "https://github.com/vpoulailleau/simplelogging"
documentation = "https://simplelogging.readthedocs.io/en/latest/"
keywords = ["logging", "simplelogging"]
license = "BSD-3-Clause"
include = ["simplelogging/**/*.py"]
[tool.poetry.dependencies]
python = "^3.8"
colorlog = "^4.1.0"
[tool.poetry.dev-dependencies]
python-dev-tools = { version = ">=2020.9.4", python = ">=3.8,<4.0" }
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = True
envlist = py38, py39, py310, py311, py312
[testenv]
whitelist_externals =
poetry
echo
sed
cp
changedir = {toxinidir}/tests
commands =
poetry install -v
poetry run pytest -s -vv --cov=simplelogging
poetry run coverage xml
echo 'fix travis bug'
sed --in-place -e 's#//home#/home#g' coverage.xml
echo 'fix codeclimate bug, use relative path'
sed --in-place -e 's#/home.*vpoulailleau/simplelogging/##g' coverage.xml
cp coverage.xml ../coverage.xml
"""
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"