mirror of
https://github.com/nicolargo/glances.git
synced 2024-08-17 00:10:48 +03:00
fix(setup): add missing pydantic
Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
parent
562780f7f0
commit
4bfe5f2c81
9
setup.py
9
setup.py
@ -39,14 +39,11 @@ def get_data_files():
|
||||
|
||||
return data_files
|
||||
|
||||
with open('requirements.txt') as f:
|
||||
required = f.read().splitlines()
|
||||
|
||||
def get_install_requires():
|
||||
requires = [
|
||||
'psutil>=5.6.7',
|
||||
'defusedxml',
|
||||
'packaging',
|
||||
'ujson>=5.4.0',
|
||||
]
|
||||
requires = required
|
||||
if sys.platform.startswith('win'):
|
||||
requires.append('fastapi')
|
||||
requires.append('uvicorn')
|
||||
|
Loading…
Reference in New Issue
Block a user