mirror of
https://github.com/nicolargo/glances.git
synced 2024-08-16 16:00:27 +03:00
Merge pull request #2760 from chenrui333/add-pydantic
fix(setup): add missing pydantic
This commit is contained in:
commit
ddfa809280
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