Skip to content

Commit

Permalink
Hardcode the requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedfgad committed Dec 9, 2024
1 parent 1a0c67f commit 138333a
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
import setuptools
import os

with open("README.md", "r") as fh:
long_description = fh.read()

# Dynamically read requirements.txt
this_dir = os.path.abspath(os.path.dirname(__file__))
requirements_path = os.path.join(this_dir, "requirements.txt")

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

setuptools.setup(
name="pygad",
version="3.3.1",
author="Ahmed Fawzy Gad",
install_requires=requirements,
install_requires=["numpy", "matplotlib", "cloudpickle",],
author_email="[email protected]",
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 138333a

Please sign in to comment.