-
Notifications
You must be signed in to change notification settings - Fork 80
/
pyproject.toml
112 lines (85 loc) · 2.52 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
99
100
101
102
103
104
105
106
107
108
109
110
111
[tool]
[tool.poetry]
name = "niapy"
version = "2.5.1"
description = "Python micro framework for building nature-inspired algorithms."
authors = ["NiaOrg <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/NiaOrg/NiaPy"
repository = "https://github.com/NiaOrg/NiaPy"
documentation = "https://niapy.org/en/stable/"
keywords = ["nature-inspired algorithms", "evolutionary algorithms", "swarm intelligence", "optimization"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
"Topic :: Software Development"
]
include = [
{ path="LICENSE", format="sdist" },
{ path="CHANGELOG.md", format="sdist" },
{ path="CITATION.cff", format="sdist" },
{ path="Algorithms.md", format="sdist" },
{ path="Problems.md", format="sdist" },
]
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
numpy = "^1.26.1"
pandas = "^2.1.1"
openpyxl = "^3.1.2"
matplotlib = "^3.8.0"
[tool.poetry.group.test.dependencies]
pytest = ">=7.4.2,<9.0.0"
pytest-cov = "^4.1.0"
pytest-randomly = "^3.15.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
sphinx = "^7.2.6"
sphinx-rtd-theme = "^1.3.0"
[tool.poetry.group.release]
optional = true
[tool.poetry.group.release.dependencies]
git-changelog = "^2.4.0"
bump-my-version = ">=0.15.3,<0.18.0"
pandoc = "^2.3"
[tool.bumpversion]
current_version = "2.5.1"
allow_dirty = true
commit = true
tag = true
tag_name = "v{new_version}"
parse = '(?P<major>\d+)\.(?P<minor>\d+)(\.(?P<patch>\d+))(\-?((rc)?(?P<rc>\d+))?)'
serialize = [
"{major}.{minor}.{patch}rc{rc}",
"{major}.{minor}.{patch}"
]
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = "version = \"{current_version}\""
replace = "version = \"{new_version}\""
[[tool.bumpversion.files]]
filename = "niapy/__init__.py"
search = "__version__ = \"{current_version}\""
replace = "__version__ = \"{new_version}\""
[[tool.bumpversion.files]]
filename = "docs/source/conf.py"
search = "release = u'{current_version}'"
replace = "release = u'{new_version}'"
[tool.git-changelog]
convention = "basic"
in-place = true
marker-line = "<!-- insertion marker -->"
output = "CHANGELOG.md"
parse-refs = true
parse-trailers = true
repository = "."
provider = "github"
template = "keepachangelog"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"