mirror of https://github.com/nicolargo/glances
Merge pull request #2245 from chenrui333/setup/add-ujson
setup: include ujson as required dependencypull/2248/head
commit
4ee3c34384
11
setup.py
11
setup.py
|
@ -41,7 +41,16 @@ def get_data_files():
|
|||
|
||||
|
||||
def get_install_requires():
|
||||
requires = ['psutil>=5.3.0', 'defusedxml', 'future', 'packaging']
|
||||
requires = [
|
||||
'psutil>=5.6.7',
|
||||
'defusedxml',
|
||||
'packaging',
|
||||
'future; python_version < "3.0"',
|
||||
'ujson<3; python_version < "3.0"',
|
||||
'ujson<4; python_version >= "3.5" and python_version < "3.6"',
|
||||
'ujson<5; python_version >= "3.6" and python_version < "3.7"',
|
||||
'ujson>=5.4.0; python_version >= "3.7"',
|
||||
]
|
||||
if sys.platform.startswith('win'):
|
||||
requires.append('bottle')
|
||||
requires.append('requests')
|
||||
|
|
Loading…
Reference in New Issue