8000 Use hatchling instead of setuptools · Shawmo/GeneticAlgorithmPython@785f706 · GitHub
[go: up one dir, main page]

Skip to content

Commit 785f706

Browse files
committed
Use hatchling instead of setuptools
1 parent e75aae7 commit 785f706

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/main_py312.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ jobs:
2222

2323
- name: Build PyGAD from the Repository
2424
run: |
25-
python3 -m pip install --upgrade build
26-
python3 -m build
25+
# python3 -m pip install --upgrade build
26+
python3 -m build --sdist --wheel
27+
# python3 -m build
2728
2829
- name: Install PyGAD after Building the .whl File
2930
run: |

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[build-system]
2-
requires = ["setuptools>=61.0"]
3-
build-backend = "setuptools.build_meta"
4-
# requires = ["hatchling"]
5-
# build-backend = "hatchling.build"
2+
# requires = ["setuptools>=61.0"]
3+
# build-backend = "setuptools.build_meta"
4+
requires = ["hatchling"]
5+
build-backend = "hatchling.build"
66

77
[project]
88
name = "pygad"

0 commit comments

Comments
 (0)
0