-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (82 loc) · 2.76 KB
/
pyproject.toml
File metadata and controls
96 lines (82 loc) · 2.76 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
packages = ["networksim"]
[tool.setuptools.package-data]
networksim = []
[project]
# This is a unique identifier for your project, typically in the format <org_name>.<package_name>
name = "networksim"
version = "0.1.0"
description = "Educational network simulator for learning networking protocols"
readme = "README.md" # Assuming you have a README.md file
# SPDX license identifier. You can find a list of valid identifiers at https://spdx.org/licenses/
license = {text = "GPLv3"}
# Add your name and email address
authors = [
{name = "Bryan Wyatt", email = "brwyatt@gmail.com"},
]
# Specify the minimum Python version required
requires-python = ">=3.10"
# Classify your project with PyPI trove classifiers
# See https://pypi.org/classifiers/ for a complete list
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Education",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Education",
"Topic :: System :: Networking",
]
# Dependencies
dependencies = [
"setuptools>=78.1.1,<83.0.0",
]
[project.optional-dependencies]
dev = [
"ipython>=7.0.0,<10.0.0",
"pre-commit>=2.0.0,<5.0.0",
"tox>=4.23.2,<5.0.0",
"networksim[test]",
]
test = [
"coverage>=7.6.9,<8.0.0",
"pytest>=8.3.4,<10.0.0",
]
[project.urls]
Homepage = "https://github.com/brwyatt/NetworkSim"
"Bug Tracker" = "https://github.com/brwyatt/NetworkSim/issues"
# Entry points for console scripts and plugins
[project.entry-points."console_scripts"]
networksim = "networksim.ui:start_ui"
[project.entry-points."networksim_device_types"]
Device = "networksim.hardware.device:Device"
"IPDevices.IPDevice" = "networksim.hardware.device.ip.ipdevice:IPDevice"
"IPDevices.Router" = "networksim.hardware.device.ip.router:Router"
"Infrastructure.Router" = "networksim.hardware.device.infrastructure.router:Router"
"Infrastructure.Hub" = "networksim.hardware.device.infrastructure.hub:Hub"
"Infrastructure.Switch" = "networksim.hardware.device.infrastructure.switch:Switch"
[project.entry-points."networksim_applications"]
Ping = "networksim.application.ping:Ping"
"DHCP_Server" = "networksim.application.dhcp.server:DHCPServer"
"DHCP_Client" = "networksim.application.dhcp.client:DHCPClient"
[build-system]
# These are the assumed build requirements if not specified
requires = ["setuptools>=78.1.1,<83.0.0"]
build-backend = "setuptools.build_meta" # Specifies the backend to use for building the distribution
[tool.black]
line-length = 79
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''