This commit is contained in:
yumoqing 2024-01-14 11:09:56 +08:00
parent f80f461a23
commit 99310f4b3b

View File

@ -5,6 +5,10 @@ try:
from setuptools import setup from setuptools import setup
except ImportError: except ImportError:
from distutils.core import setup from distutils.core import setup
required = []
with open('requirements.txt', 'r') as f:
ls = f.read()
required = ls.split('\n')
with open('appPublic/version.py', 'r') as f: with open('appPublic/version.py', 'r') as f:
x = f.read() x = f.read()
@ -30,8 +34,7 @@ setup(
author=author, author=author,
author_email=email, author_email=email,
platforms='any', platforms='any',
install_requires=[ install_requires=required ,
],
packages=[ packages=[
"appPublic" "appPublic"
], ],