-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
98 lines (83 loc) · 2.04 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
96
97
98
[tool.poetry]
name = "narpyn"
version = "0.1.0"
description = "A Python API library for NARS"
authors = ["Adrian Borucki <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
packages = [{include = "narpyn"}]
[tool.poetry.dependencies]
python = "^3.11"
[tool.poetry.group.dev.dependencies]
black = "^23.3.0"
ruff = "^0.0.270"
pytest = "^7.3.1"
ipython = "^8.14.0"
pre-commit = "^3.3.3"
[project]
name = "narpyn"
dynamic = ["version"]
description = "A Python API library for NARS"
keywords = [
"nars",
"ai",
]
authors = [{name = "Adrian Borucki", email = "[email protected]"}]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
]
license = "Apache-2.0"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"ona>=0.9.2",
]
[project.urls]
Homepage = "https://ntoxeg.github.io/narpyn/"
Sponsor = "https://github.com/sponsors/ntoxeg"
Tracker = "https://github.com/ntoxeg/narpyn/issues"
Source = "https://github.com/ntoxeg/narpyn"
[build-system]
requires = ["hatchling>=1.17.0", "hatch-vcs", "hatch-build-scripts"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
]
[tool.hatch.build.targets.wheel]
exclude = [
"/tests",
]
[tool.hatch.build.targets.wheel.hooks.mypyc]
enable-by-default = false
dependencies = ["hatch-mypyc>=0.14.1"]
require-runtime-dependencies = true
mypy-args = [
"--no-warn-unused-ignores",
]
[tool.ruff.isort]
known-first-party = ["narpyn"]
[terminal.styles]
spinner = "dots"
[tool.coverage.run]
source_pkgs = ["narpyn", "tests"]
branch = true
parallel = true
[tool.coverage.paths]
narpyn = ["narpyn", "*/narpyn/narpyn"]
tests = ["tests", "*/narpyn/tests"]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.isort]
profile = "black"