Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (58 loc) · 1.84 KB
/
Copy pathpyproject.toml
File metadata and controls
63 lines (58 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[project]
name = "pyspos"
version = "3.2.0"
description = "用 Python 写的模拟操作系统:真子进程、EEVDF 调度器、Unicorn ELF 引擎、curses 首次开机向导"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.10"
authors = [{ name = "GoutouStdio" }]
keywords = [
"operating-system",
"simulator",
"elf",
"unicorn",
"scheduler",
"eevdf",
"curses",
"educational",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console :: Curses",
"Intended Audience :: Education",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.14",
"Topic :: Education",
"Topic :: System :: Emulators",
]
dependencies = [
"requests>=2.28",
"unicorn>=2.0",
"cryptography>=42.0",
"tzdata>=2023.3; platform_system != 'Linux'",
]
[project.optional-dependencies]
dev = ["pytest>=7.0", "ruff>=0.1"]
gui = ["PyQt6>=6.6", "numpy>=1.24", "pyte>=0.8.2",
"ptyprocess>=0.7; sys_platform != 'win32'", "pywinpty>=3.0.5; sys_platform == 'win32'"]
[project.urls]
Homepage = "https://viudiratech.rainyland.top"
Repository = "https://github.com/ViudiraTech/PySpOS"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = [".", "src", "src/apps"]
addopts = "--import-mode=importlib"
markers = [
"integration: real child processes, local sockets or external commands",
]
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
# 默认只开抓「真 bug」的关键规则。main.py 是兼容 facade,重导出是有意的,
# 全开 F401 会误报;风格类规则请按需在本地显式 --select。
select = ["E9", "F63", "F7", "F82", "F811", "F821"]