-
-
Notifications
You must be signed in to change notification settings - Fork 126
/
Copy pathpyproject.toml
95 lines (85 loc) · 2.38 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
84
85
86
87
88
89
90
91
92
93
94
95
[tool.poetry]
name = "kerykeion"
version = "4.25.2"
authors = ["Giacomo Battaglia <[email protected]>"]
description = "A python library for astrology."
license = "AGPL-3.0"
homepage = "https://www.kerykeion.net/"
repository = "https://github.com/g-battaglia/kerykeion"
keywords = [
"astrology",
"ephemeris",
"astrology library",
"birtchart",
"svg",
"zodiac",
"zodiac-sing",
"astronomical-algorithms",
"synastry",
"astrology-calculator",
]
readme = "README.md"
include = ["LICENSE"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Information Technology",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Topic :: Scientific/Engineering :: Astronomy",
"Typing :: Typed",
]
# To include Kerykeion itself
packages = [{ include = "kerykeion" }]
[tool.poetry.dependencies]
python = "^3.9"
pyswisseph = "^2.10.3.1"
pydantic = "^2.5"
scour = "^0.38.2"
requests-cache = "^1.2.1"
requests = "^2.32.3"
simple-ascii-tables = "^1.0.0"
pytz = "^2024.2"
typing-extensions = "^4.12.2"
[tool.poetry.scripts]
create-docs = "scripts.docs:main"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.0"
mypy = "^0.991"
black = "^24.4.2"
pdoc = "^14.5.0"
types-requests = "^2.28.11.7"
types-pytz = "^2022.7.0.0"
poethepoet = "^0.19.0"
# MyPy Static Analysis
[tool.mypy]
ignore_missing_imports = true
mypy_path = "kerykeion"
files = "kerykeion"
# PyTest Automated Testing
[tool.pytest.ini_options]
log_cli_level = 20
log_cli = "True"
testpaths = "tests"
log_level = 20
log_date_format = "%Y-%m-%d %H:%M:%S"
log_format = "%(asctime)s %(levelname)s %(message)s"
# Black Code Formatter
[tool.black]
line-length = 120
# Task Runner
[tool.poe.tasks]
test = "pytest"
test-no-capture = "pytest --show-capture no "
test-nocharts = "pytest --ignore-glob='*chart*.py'"
analize = "mypy"
docs = "pdoc kerykeion -o ./docs"
format = "black --line-length 120"
"format:all" = "black kerykeion tests --line-length 120"