mirror of https://github.com/nicolargo/glances.git
Update version (in order to test #2956) and rebuild the Web UI
This commit is contained in:
parent
039dd00c96
commit
b2b6879dd5
|
|
@ -2881,10 +2881,11 @@
|
|||
}
|
||||
},
|
||||
"node_modules/http-proxy-middleware": {
|
||||
"version": "2.0.6",
|
||||
"resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz",
|
||||
"integrity": "sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==",
|
||||
"version": "2.0.7",
|
||||
"resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.7.tgz",
|
||||
"integrity": "sha512-fgVY8AV7qU7z/MmXJ/rxwbrtQH4jBQ9m7kp3llF0liB7glmFeVZFBepQb32T3y8n8k2+AEYuMPCpinYW+/CuRA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@types/http-proxy": "^1.17.8",
|
||||
"http-proxy": "^1.18.1",
|
||||
|
|
@ -8131,9 +8132,9 @@
|
|||
}
|
||||
},
|
||||
"http-proxy-middleware": {
|
||||
"version": "2.0.6",
|
||||
"resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz",
|
||||
"integrity": "sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==",
|
||||
"version": "2.0.7",
|
||||
"resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.7.tgz",
|
||||
"integrity": "sha512-fgVY8AV7qU7z/MmXJ/rxwbrtQH4jBQ9m7kp3llF0liB7glmFeVZFBepQb32T3y8n8k2+AEYuMPCpinYW+/CuRA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/http-proxy": "^1.17.8",
|
||||
|
|
|
|||
245
pyproject.toml
245
pyproject.toml
|
|
@ -1,63 +1,64 @@
|
|||
[project]
|
||||
name = "Glances"
|
||||
version = "4.3.0_dev01"
|
||||
authors = [{name = "Nicolas Hennion", email = "nicolas@nicolargo.com"}]
|
||||
classifiers = [
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Environment :: Console :: Curses",
|
||||
"Environment :: Web Environment",
|
||||
"Framework :: FastAPI",
|
||||
"Intended Audience :: Developers",
|
||||
"Intended Audience :: End Users/Desktop",
|
||||
"Intended Audience :: System Administrators",
|
||||
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
"Topic :: System :: Monitoring",
|
||||
]
|
||||
dependencies = [
|
||||
"defusedxml",
|
||||
"packaging",
|
||||
"psutil>=5.6.7",
|
||||
"fastapi>=0.82.0; platform_system == 'Windows'",
|
||||
"uvicorn; platform_system == 'Windows'",
|
||||
"jinja2; platform_system == 'Windows'",
|
||||
"requests; platform_system == 'Windows'",
|
||||
]
|
||||
description = "A cross-platform curses-based monitoring tool"
|
||||
keywords = ["cli", "curses", "monitoring", "system"]
|
||||
license = {text = "LGPLv3"}
|
||||
name = "Glances"
|
||||
readme = "README.rst"
|
||||
authors = [{ name = "Nicolas Hennion", email = "nicolas@nicolargo.com" }]
|
||||
classifiers = [
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Environment :: Console :: Curses",
|
||||
"Environment :: Web Environment",
|
||||
"Framework :: FastAPI",
|
||||
"Intended Audience :: Developers",
|
||||
"Intended Audience :: End Users/Desktop",
|
||||
"Intended Audience :: System Administrators",
|
||||
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
"Topic :: System :: Monitoring",
|
||||
]
|
||||
requires-python = ">=3.8"
|
||||
dependencies = [
|
||||
"defusedxml",
|
||||
"packaging",
|
||||
"psutil>=5.6.7",
|
||||
"fastapi>=0.82.0; platform_system == 'Windows'",
|
||||
"uvicorn; platform_system == 'Windows'",
|
||||
"jinja2; platform_system == 'Windows'",
|
||||
"requests; platform_system == 'Windows'",
|
||||
]
|
||||
license = { text = "LGPLv3" }
|
||||
urls.Homepage = "https://github.com/nicolargo/glances"
|
||||
version = "4.3.0_dev02"
|
||||
|
||||
[project.optional-dependencies]
|
||||
action = ["chevron"]
|
||||
all = ["glances[action,browser,cloud,containers,export,gpu,graph,ip,raid,sensors,smart,snmp,sparklines,web,wifi]"]
|
||||
browser = ["zeroconf>=0.19.1"]
|
||||
cloud = ["requests"]
|
||||
containers = ["docker>=6.1.1", "packaging", "podman", "python-dateutil", "six"]
|
||||
export = [
|
||||
"bernhard",
|
||||
"cassandra-driver",
|
||||
"elasticsearch",
|
||||
"graphitesender",
|
||||
"ibmcloudant",
|
||||
"influxdb-client",
|
||||
"influxdb>=1.0.0",
|
||||
"kafka-python",
|
||||
"paho-mqtt",
|
||||
"pika",
|
||||
"potsdb",
|
||||
"prometheus_client",
|
||||
"pymongo",
|
||||
"pyzmq",
|
||||
"statsd",
|
||||
"bernhard",
|
||||
"cassandra-driver",
|
||||
"elasticsearch",
|
||||
"graphitesender",
|
||||
"ibmcloudant",
|
||||
"influxdb-client",
|
||||
"influxdb>=1.0.0",
|
||||
"kafka-python",
|
||||
"paho-mqtt",
|
||||
"pika",
|
||||
"potsdb",
|
||||
"prometheus_client",
|
||||
"pymongo",
|
||||
"pyzmq",
|
||||
"statsd",
|
||||
]
|
||||
gpu = ["nvidia-ml-py"]
|
||||
graph = ["pygal"]
|
||||
|
|
@ -69,20 +70,19 @@ snmp = ["pysnmp"]
|
|||
sparklines = ["sparklines"]
|
||||
web = ["fastapi>=0.82.0", "jinja2", "requests", "uvicorn"]
|
||||
wifi = ["wifi"]
|
||||
all = ["glances[action,browser,cloud,containers,export,gpu,graph,ip,raid,sensors,smart,snmp,sparklines,web,wifi]"]
|
||||
|
||||
[project.scripts]
|
||||
glances = "glances:main"
|
||||
|
||||
[tool.setuptools.data-files]
|
||||
"share/doc/glances" = [
|
||||
"AUTHORS",
|
||||
"COPYING",
|
||||
"NEWS.rst",
|
||||
"README.rst",
|
||||
"SECURITY.md",
|
||||
"CONTRIBUTING.md",
|
||||
"conf/glances.conf",
|
||||
"AUTHORS",
|
||||
"COPYING",
|
||||
"NEWS.rst",
|
||||
"README.rst",
|
||||
"SECURITY.md",
|
||||
"CONTRIBUTING.md",
|
||||
"conf/glances.conf",
|
||||
]
|
||||
"share/man/man1" = ["docs/man/glances.1"]
|
||||
|
||||
|
|
@ -98,57 +98,102 @@ quote-style = "preserve"
|
|||
|
||||
[tool.ruff.lint]
|
||||
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
|
||||
select = [
|
||||
# "A",
|
||||
# "B",
|
||||
# "S",
|
||||
"C90", # mccabe
|
||||
"E", # pycodestyle
|
||||
"F", # Pyflakes
|
||||
"I", # isort
|
||||
"N", # pep8-naming
|
||||
"W", # pycodestyle
|
||||
"UP", # pyupgrde
|
||||
"C4", # flake8-comprehensions
|
||||
"RET", # flake8-return
|
||||
# "PL",
|
||||
# "FBT", # flake8-boolean-trap
|
||||
# "RUF", # Ruff-specific rules
|
||||
# "PERF", # Perflint
|
||||
]
|
||||
ignore = ["N801", "N802", "N803", "N805", "N806", "N807", "N811", "N812", "N813", "N814", "N815", "N816", "N817", "N818"]
|
||||
select = [
|
||||
# "A",
|
||||
# "B",
|
||||
# "S",
|
||||
"C90", # mccabe
|
||||
"E", # pycodestyle
|
||||
"F", # Pyflakes
|
||||
"I", # isort
|
||||
"N", # pep8-naming
|
||||
"W", # pycodestyle
|
||||
"UP", # pyupgrde
|
||||
"C4", # flake8-comprehensions
|
||||
"RET", # flake8-return
|
||||
# "PL",
|
||||
# "FBT", # flake8-boolean-trap
|
||||
# "RUF", # Ruff-specific rules
|
||||
# "PERF", # Perflint
|
||||
]
|
||||
|
||||
# Allow autofix for all enabled rules (when `--fix`) is provided.
|
||||
fixable = ["A", "B", "C", "D", "E", "F", "G", "I", "N", "Q", "S", "T", "W", "ANN", "ARG", "BLE", "COM", "DJ", "DTZ", "EM", "ERA", "EXE", "FBT", "ICN", "INP", "ISC", "NPY", "PD", "PGH", "PIE", "PL", "PT", "PTH", "PYI", "RET", "RSE", "RUF", "SIM", "SLF", "TCH", "TID", "TRY", "UP", "YTT"]
|
||||
fixable = [
|
||||
"A",
|
||||
"B",
|
||||
"C",
|
||||
"D",
|
||||
"E",
|
||||
"F",
|
||||
"G",
|
||||
"I",
|
||||
"N",
|
||||
"Q",
|
||||
"S",
|
||||
"T",
|
||||
"W",
|
||||
"ANN",
|
||||
"ARG",
|
||||
"BLE",
|
||||
"COM",
|
||||
"DJ",
|
||||
"DTZ",
|
||||
"EM",
|
||||
"ERA",
|
||||
"EXE",
|
||||
"FBT",
|
||||
"ICN",
|
||||
"INP",
|
||||
"ISC",
|
||||
"NPY",
|
||||
"PD",
|
||||
"PGH",
|
||||
"PIE",
|
||||
"PL",
|
||||
"PT",
|
||||
"PTH",
|
||||
"PYI",
|
||||
"RET",
|
||||
"RSE",
|
||||
"RUF",
|
||||
"SIM",
|
||||
"SLF",
|
||||
"TCH",
|
||||
"TID",
|
||||
"TRY",
|
||||
"UP",
|
||||
"YTT",
|
||||
]
|
||||
unfixable = []
|
||||
|
||||
# Exclude a variety of commonly ignored directories.
|
||||
exclude = [
|
||||
".bzr",
|
||||
".direnv",
|
||||
".eggs",
|
||||
".git",
|
||||
".hg",
|
||||
".mypy_cache",
|
||||
".nox",
|
||||
".pants.d",
|
||||
".pytype",
|
||||
".ruff_cache",
|
||||
".svn",
|
||||
".tox",
|
||||
".venv",
|
||||
"__pypackages__",
|
||||
"_build",
|
||||
"buck-out",
|
||||
"build",
|
||||
"dist",
|
||||
"node_modules",
|
||||
"venv",
|
||||
"venv-dev",
|
||||
"venv-min",
|
||||
"docs",
|
||||
"test-data",
|
||||
"./glances/outputs/static/*"
|
||||
".bzr",
|
||||
".direnv",
|
||||
".eggs",
|
||||
".git",
|
||||
".hg",
|
||||
".mypy_cache",
|
||||
".nox",
|
||||
".pants.d",
|
||||
".pytype",
|
||||
".ruff_cache",
|
||||
".svn",
|
||||
".tox",
|
||||
".venv",
|
||||
"__pypackages__",
|
||||
"_build",
|
||||
"buck-out",
|
||||
"build",
|
||||
"dist",
|
||||
"node_modules",
|
||||
"venv",
|
||||
"venv-dev",
|
||||
"venv-min",
|
||||
"docs",
|
||||
"test-data",
|
||||
"./glances/outputs/static/*",
|
||||
]
|
||||
|
||||
# Allow unused variables when underscore-prefixed.
|
||||
|
|
@ -159,5 +204,5 @@ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
|
|||
max-complexity = 21
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools>=68"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
requires = ["setuptools>=68"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue