8000 Hardcode the requirements · Antonille/GeneticAlgorithmPython@138333a · GitHub
[go: up one dir, main page]

Skip to content

Commit 138333a

Browse files
committed
Hardcode the requirements
1 parent 1a0c67f commit 138333a

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

setup.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
11
import setuptools
2-
import os
32

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

7-
# Dynamically read requirements.txt
8-
this_dir = os.path.abspath(os.path.dirname(__file__))
9-
requirements_path = os.path.join(this_dir, "requirements.txt")
10-
11-
# Read the requirements from the requirements.txt file
12-
with open(requirements_path, "r") as f:
13-
requirements = f.read().splitlines()
14-
156
setuptools.setup(
167
name="pygad",
178
version="3.3.1",
189
author="Ahmed Fawzy Gad",
19-
install_requires=requirements,
10+
install_requires=["numpy", "matplotlib", "cloudpickle",],
2011
author_email="ahmed.f.gad@gmail.com",
2112
description="PyGAD: A Python Library for Building the Genetic Algorithm and Training Machine Learning Algoithms (Keras & PyTorch).",
2213
long_description=long_description,

0 commit comments

Comments
 (0)
0