8000 Read the requirements from the .txt file · longamu/GeneticAlgorithmPython@516ac20 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 516ac20

Browse files
committed
Read the requirements from the .txt file
1 parent 01eee85 commit 516ac20

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@
33
with open("README.md", "r") as fh:
44
long_description = fh.read()
55

6+
# Read the requirements from the requirements.txt file
7+
with open("requirements.txt", "r") as f:
8+
requirements = f.read().splitlines()
9+
610
setuptools.setup(
711
name="pygad",
812
version="3.3.1",
913
author="Ahmed Fawzy Gad",
10-
install_requires=["numpy", "matplotlib", "cloudpickle",],
14+
install_requires=requirements,
1115
author_email="ahmed.f.gad@gmail.com",
1216
description="PyGAD: A Python Library for Building the Genetic Algorithm and Training Machine Learning Algoithms (Keras & PyTorch).",
1317
long_description=long_description,

0 commit comments

Comments
 (0)
0