mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-25 10:12:55 +03:00
API tests + requests in the setup.py script
This commit is contained in:
parent
1c56b91f96
commit
af3b2a87d5
4
setup.py
4
setup.py
@ -21,7 +21,7 @@ class tests(Command):
|
||||
def run(self):
|
||||
import subprocess
|
||||
import sys
|
||||
for t in glob.glob('unitest.py'):
|
||||
for t in glob.glob('unitest*.py'):
|
||||
ret = subprocess.call([sys.executable, t]) != 0
|
||||
if ret != 0:
|
||||
raise SystemExit(ret)
|
||||
@ -59,7 +59,7 @@ setup(
|
||||
keywords="cli curses monitoring system",
|
||||
install_requires=get_requires(),
|
||||
extras_require={
|
||||
'WEB': ['bottle'],
|
||||
'WEB': ['bottle', 'requests'],
|
||||
'SENSORS': ['py3sensors'],
|
||||
'BATINFO': ['batinfo'],
|
||||
'SNMP': ['pysnmp'],
|
||||
|
Loading…
Reference in New Issue
Block a user