File: pyproject.toml

package info (click to toggle)
astral 3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 404 kB
  • sloc: python: 4,177; makefile: 4
file content (68 lines) | stat: -rw-r--r-- 1,577 bytes parent folder | download
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
[tool.poetry]
name = "astral"
version = "3.2"
description = "Calculations for the position of the sun and moon."
keywords = ["sun", "moon", "sunrise", "sunset", "dawn", "dusk"]
authors = ["Simon Kennedy <sffjunkie+code@gmail.com>"]
license = "Apache-2.0"
readme = "ReadMe.md"
documentation = "https://sffjunkie.github.io/astral"
repository = "https://github.com/sffjunkie/astral"

classifiers = [
    "Intended Audience :: Developers",
    "Programming Language :: Python",
    "Programming Language :: Python :: 3.7",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
]

packages = [{ include = "astral", from = "src" }]

include = ["src/doc", "src/test"]

[tool.poetry.dependencies]
python = "^3.7"
"backports.zoneinfo" = { version = "*", markers = "python_version < '3.9'" }
tzdata = { version = "*", markers = "sys_platform == 'win32'" }

[tool.poetry.dev-dependencies]
freezegun = "*"
pytest = "*"
tox = "*"
pylint = "^2.4.4"
flake8 = "*"

[tool.poetry.group.docs.dependencies]
sphinx-book-theme = "^0.3.3"


[tool.poetry.group.dev.dependencies]
pre-commit = "^2.20.0"

[tool.pytest.ini_options]
pythonpath = ["src"]
junit_family = "xunit2"
cache_dir = "~/.cache/pytest"
norecursedirs = [
    "__pycache__",
    ".cache",
    ".mypy_cache",
    ".pytest_cache",
    ".eggs",
    ".git",
    ".settings",
    ".venv",
    ".vscode",
    "dist",
    "build",
]


[tool.mypy]
cache_dir = "~/.cache/mypy"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"