Skip to content

Commit 00069e9

Browse files
committed
Restore changes
1 parent e151d4b commit 00069e9

File tree

1 file changed

+36
-17
lines changed

1 file changed

+36
-17
lines changed

pyproject.toml

Lines changed: 36 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,47 @@
11
[build-system]
2-
requires = ["hatchling"]
3-
build-backend = "hatchling.build"
2+
# Consider migrating to hatching later: https://hatch.pypa.io/latest/intro/#existing-project
3+
# requires = ["setuptools>=61.0"]
4+
# requires = ["setuptools==59.2"]
5+
requires = ["setuptools"]
6+
build-backend = "setuptools.build_meta"
7+
# requires = ["hatchling"]
8+
# build-backend = "hatchling.build"
49

510
[project]
611
name = "pygad"
7-
dynamic = ["version"]
12+
version = "3.1.0"
813
description = "PyGAD: A Python Library for Building the Genetic Algorithm and Training Machine Learning Algoithms (Keras & PyTorch)."
9-
readme = "README.md"
10-
license = ""
14+
readme = {file = "README.md", content-type = "text/markdown"}
15+
requires-python = ">=3"
16+
license = {file = "LICENSE"}
1117
authors = [
12-
{ name = "Ahmed Fawzy Gad", email = "[email protected]" },
18+
{name = "Ahmed Gad", email = "[email protected]"},
1319
]
20+
maintainers = [
21+
{name = "Ahmed Gad", email = "[email protected]"}
22+
]
23+
classifiers = [
24+
"License :: OSI Approved :: BSD License",
25+
"Programming Language :: Python",
26+
"Programming Language :: Python :: 3",
27+
"Natural Language :: English",
28+
"Operating System :: OS Independent",
29+
"Topic :: Scientific/Engineering",
30+
"Topic :: Scientific/Engineering :: Bio-Informatics",
31+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
32+
"Topic :: Software Development",
33+
"Topic :: Utilities",
34+
"Intended Audience :: Information Technology",
35+
"Intended Audience :: Science/Research",
36+
"Intended Audience :: Developers",
37+
"Intended Audience :: Education",
38+
"Intended Audience :: Other Audience"
39+
]
40+
keywords = ["genetic algorithm", "GA", "optimization", "evolutionary algorithm", "natural evolution", "pygad", "machine learning", "deep learning", "neural networks", "tensorflow", "keras", "pytorch"]
1441
dependencies = [
15-
"cloudpickle",
16-
"matplotlib",
17-
"numpy",
42+
"numpy",
43+
"matplotlib",
44+
"cloudpickle",
1845
]
1946

2047
[project.urls]
@@ -27,14 +54,6 @@ dependencies = [
2754
"Donation Open Collective" = "https://opencollective.com/pygad"
2855
"Donation Paypal" = "http://paypal.me/ahmedfgad"
2956

30-
[tool.hatch.version]
31-
path = "pygad/__init__.py"
32-
33-
[tool.hatch.build.targets.sdist]
34-
include = [
35-
"/pygad",
36-
]
37-
3857
[project.optional-dependencies]
3958
deep_learning = ["keras", "torch"]
4059

0 commit comments

Comments
 (0)