79 lines
1.8 KiB
TOML
79 lines
1.8 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "miniprofiler"
|
|
version = "0.1.0"
|
|
description = "Host application for embedded STM32 profiling"
|
|
requires-python = ">=3.8"
|
|
license = "MIT"
|
|
authors = [
|
|
{name = "MiniProfiler Contributors"}
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"Topic :: Software Development :: Embedded Systems",
|
|
"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",
|
|
]
|
|
|
|
dependencies = [
|
|
"Flask>=3.0.0",
|
|
"Flask-SocketIO>=5.3.0",
|
|
"pyserial>=3.5",
|
|
"pyelftools>=0.29",
|
|
"crc>=6.1.1",
|
|
"python-socketio>=5.10.0",
|
|
"eventlet>=0.33.3",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0",
|
|
"pytest-cov>=4.0",
|
|
"black>=23.0",
|
|
"ruff>=0.1.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
miniprofiler = "miniprofiler.cli:main"
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/yourusername/miniprofiler"
|
|
Documentation = "https://github.com/yourusername/miniprofiler/tree/main/docs"
|
|
Repository = "https://github.com/yourusername/miniprofiler"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["miniprofiler*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
miniprofiler = [
|
|
"web/templates/*.html",
|
|
"web/static/css/*.css",
|
|
"web/static/js/*.js",
|
|
]
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
target-version = ['py38']
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py38"
|
|
select = ["E", "F", "I", "N", "W"]
|
|
ignore = []
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_classes = ["Test*"]
|
|
python_functions = ["test_*"]
|
|
addopts = "-v --cov=miniprofiler --cov-report=term-missing"
|