From b1f3df862d49120c4068cbaa179a41810c0e5bee Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 14 Jan 2024 11:10:36 +0800 Subject: [PATCH] bugfix --- setup.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index c2c4284..9502411 100755 --- a/setup.py +++ b/setup.py @@ -18,6 +18,11 @@ description = "ahserver" author = "yumoqing" email = "yumoqing@gmail.com" +required = [] +with open('requirements.txt', 'r') as f: + ls = f.read() + required = ls.split('\n') + packages=find_packages() package_data = {} @@ -32,8 +37,7 @@ setup( author=author, author_email=email, - install_requires=[ - ], + install_requires=required, packages=packages, package_data=package_data, keywords = [