From 722b41aa10e6577b4677752200dadcb9c18bc6a3 Mon Sep 17 00:00:00 2001 From: guille Date: Fri, 7 Jul 2023 12:36:34 -0400 Subject: [PATCH] Remove deprecated waring in setup.py --- setup.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index dd15f41c..01401184 100644 --- a/setup.py +++ b/setup.py @@ -2,14 +2,13 @@ import glob import pathlib from distutils.util import convert_path -import pkg_resources from setuptools import setup with pathlib.Path('requirements.txt').open() as r: install_requires = [ - str(requirement) - for requirement - in pkg_resources.parse_requirements(r) + str(requirement).replace('\n', '') + for requirement + in r.readlines() ] install_requires.append('setuptools')