-
-
Notifications
You must be signed in to change notification settings - Fork 469
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
|