mirror of https://github.com/nicolargo/glances
Merge pull request #2760 from chenrui333/add-pydantic
fix(setup): add missing pydanticpull/2766/head
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