Skip to content

Commit

Permalink
Read the requirements from the .txt file
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedfgad committed Dec 9, 2024
1 parent 01eee85 commit 516ac20
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@
with open("README.md", "r") as fh:
long_description = fh.read()

# Read the requirements from the requirements.txt file
with open("requirements.txt", "r") as f:
requirements = f.read().splitlines()

setuptools.setup(
name="pygad",
version="3.3.1",
author="Ahmed Fawzy Gad",
install_requires=["numpy", "matplotlib", "cloudpickle",],
install_requires=requirements,
author_email="ahmed.f.gad@gmail.com",
description="PyGAD: A Python Library for Building the Genetic Algorithm and Training Machine Learning Algoithms (Keras & PyTorch).",
long_description=long_description,
Expand Down

0 comments on commit 516ac20

Please sign in to comment.