-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (54 loc) · 1.51 KB
/
pyproject.toml
File metadata and controls
63 lines (54 loc) · 1.51 KB
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
[project]
name = "maxwell-demon"
version = "1.4.0"
description = "CLI + library for entropy-based text analysis."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
dependencies = [
"numpy",
"scipy",
"pandas",
"matplotlib",
"seaborn",
"plotly",
"newspaper3k",
"lxml_html_clean",
"openai",
"tiktoken",
"tqdm",
"tomli; python_version < \"3.11\"",
]
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
[project.optional-dependencies]
dev = ["ruff>=0.6.0", "pylint>=2.17.0", "pytest>=7.0.0", "pytest-cov>=4.0.0"]
[project.scripts]
maxwell-demon = "maxwell_demon.cli:main"
maxwell-demon-tournament = "maxwell_demon.tournament_cli:main"
maxwell-demon-plot = "maxwell_demon.tools.plot_results:main"
maxwell-demon-plot-html = "maxwell_demon.tools.plot_results_html:main"
maxwell-demon-phase = "maxwell_demon.tools.plot_phase:main"
maxwell-demon-report = "maxwell_demon.tools.report_stats:main"
maxwell-demon-aggregate = "maxwell_demon.tools.aggregate_docs:main"
maxwell-demon-standard = "maxwell_demon.standard_cli:main"
[tool.ruff]
line-length = 100
src = ["."]
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
ignore = ["E501"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
[tool.semantic_release]
version_toml = ["pyproject.toml:project.version"]
tag_format = "v{version}"
branch = "main"