10000 Use hatchling instead of setuptools · 012db/GeneticAlgorithmPython@e75aae7 · GitHub
[go: up one dir, main page]

Skip to content

Commit e75aae7

Browse files
committed
Use hatchling instead of setuptools
1 parent 5fd1a58 commit e75aae7

File tree

7 files changed

+23
-21
lines changed

7 files changed

+23
-21
lines changed

.github/workflows/main_py310.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Python 3.10 Testing PyGAD using PyTest
1+
name: PyGAD PyTest / Python 3.10
22

33
on:
44
push:

.github/workflows/main_py311.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Python 3.11 Testing PyGAD using PyTest
1+
name: PyGAD PyTest / Python 3.11
22

33
on:
44
push:

.github/workflows/main_py37.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Python 3.7 Testing PyGAD using PyTest
1+
name: PyGAD PyTest / Python 3.7
22

33
on:
44
push:

.github/workflows/main_py38.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Python 3.8 Testing PyGAD using PyTest
1+
name: PyGAD PyTest / Python 3.8
22

33
on:
44
push:

.github/workflows/main_py39.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Python 3.9 Testing PyGAD using PyTest
1+
name: PyGAD PyTest / Python 3.9
22

33
on:
44
push:

pyproject.toml

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

57
[project]
68
name = "pygad"

setup.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
import setuptools
1+
# import setuptools
22

3-
with open("README.md", "r") as fh:
4-
long_description = fh.read()
3+
# with open("README.md", "r") as fh:
4+
# long_description = fh.read()
55

6-
setuptools.setup(
7-
name="pygad",
8-
version="3.1.0",
9-
author="Ahmed Fawzy Gad",
10-
install_requires=["numpy", "matplotlib", "cloudpickle",],
11-
author_email="ahmed.f.gad@gmail.com",
12-
description="PyGAD: A Python Library for Building the Genetic Algorithm and Training Machine Learning Algoithms (Keras & PyTorch).",
13-
long_description=long_description,
14-
long_description_content_type="text/markdown",
15-
url="https://github.com/ahmedfgad/GeneticAlgorithmPython",
16-
packages=setuptools.find_packages())
6+
# setuptools.setup(
7+
# name="pygad",
8+
# version="3.1.0",
9+
# author="Ahmed Fawzy Gad",
10+
# install_requires=["numpy", "matplotlib", "cloudpickle",],
11+
# author_email="ahmed.f.gad@gmail.com",
12+
# description="PyGAD: A Python Library for Building the Genetic Algorithm and Training Machine Learning Algoithms (Keras & PyTorch).",
13+
# long_description=long_description,
14+
# long_description_content_type="text/markdown",
15+
# url="https://github.com/ahmedfgad/GeneticAlgorithmPython",
16+
# packages=setuptools.find_packages())

0 commit comments

Comments
 (0)
0