-
-
Notifications
You must be signed in to change notification settings - Fork 384
/
pyproject.toml
83 lines (71 loc) · 1.94 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[tool.poetry]
name = "pendulum"
version = "3.0.0a0"
description = "Python datetimes made easy"
authors = ["Sébastien Eustace <sebastien@eustace.io>"]
license = "MIT"
readme = 'README.rst'
homepage = "https://pendulum.eustace.io"
repository = "https://github.com/sdispater/pendulum"
documentation = "https://pendulum.eustace.io/docs"
keywords = ['datetime', 'date', 'time']
packages = [
{include = "pendulum"},
#{include = "tests", format = "sdist"},
]
include = [
{path = "pendulum/py.typed"},
# C extensions must be included in the wheel distributions
{path = "pendulum/_extensions/*.so", format = "wheel"},
{path = "pendulum/_extensions/*.pyd", format = "wheel"},
{path = "pendulum/parsing/*.so", format = "wheel"},
{path = "pendulum/parsing/*.pyd", format = "wheel"},
]
[tool.poetry.dependencies]
python = "^3.7"
python-dateutil = "^2.6"
"backports.zoneinfo" = {version = "^0.2.1", python = ">=3.7,<3.9"}
tzdata = ">=2020.1"
[tool.poetry.group.test.dependencies]
pytest = "^6.2.5"
pytest-cov = "^2.5"
pytz = ">=2018.3"
time-machine = "^2.4.0"
[tool.poetry.group.doc.dependencies]
mkdocs = "^1.0"
pymdown-extensions = "^6.0"
pygments = "^2.2"
markdown-include = "^0.5.1"
[tool.poetry.group.lint.dependencies]
black = {version = "^21.12b0", markers = "implementation_name != 'pypy'"}
isort = "^5.9.1"
pre-commit = "^2.10.0"
[tool.poetry.group.dev.dependencies]
babel = "^2.5"
cleo = "^1.0.0a3"
tox = "^3.0"
[tool.poetry.build]
generate-setup-file = false
script = "build.py"
[tool.isort]
profile = "black"
force_single_line = true
atomic = true
include_trailing_comma = true
lines_after_imports = 2
lines_between_types = 1
use_parentheses = true
not_skip = "__init__.py"
skip_glob = ["*/setup.py"]
filter_files = true
known_first_party = "pendulum"
known_third_party = [
"babel",
"cleo",
"dateutil",
"time_machine",
"pytzdata",
]
[build-system]
requires = ["poetry-core>=1.1.0a6"]
build-backend = "poetry.core.masonry.api"