mirror of
https://github.com/nicolargo/glances.git
synced 2024-09-11 12:47:14 +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
|
return data_files
|
||||||
|
|
||||||
|
with open('requirements.txt') as f:
|
||||||
|
required = f.read().splitlines()
|
||||||
|
|
||||||
def get_install_requires():
|
def get_install_requires():
|
||||||
requires = [
|
requires = required
|
||||||
'psutil>=5.6.7',
|
|
||||||
'defusedxml',
|
|
||||||
'packaging',
|
|
||||||
'ujson>=5.4.0',
|
|
||||||
]
|
|
||||||
if sys.platform.startswith('win'):
|
if sys.platform.startswith('win'):
|
||||||
requires.append('fastapi')
|
requires.append('fastapi')
|
||||||
requires.append('uvicorn')
|
requires.append('uvicorn')
|
||||||
|
Loading…
Reference in New Issue
Block a user