Skip to content

Commit 3761236

Browse files
committed
Use hatchling instead of setuptools
1 parent 921a290 commit 3761236

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

pyproject.toml

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

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="[email protected]",
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="[email protected]",
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)