-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
174 lines (116 loc) · 3.3 KB
/
pyproject.toml
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# peps.python.org/pep-0621
# packaging.python.org/en/latest/specifications/declaring-project-metadata
[project]
# GENERAL INFO
# ============
name = 'VEX-Py'
keywords = [
'Robot Mesh',
'VEXcode',
'VEX',
'Robotics',
]
readme = {file = 'README.md', content-type = 'text/markdown', charset = 'UTF-8'}
# AUTHOR(S)/MAINTAINER(S) & LICENSE
# =================================
authors = [
{name = 'The Vinh LUONG (LƯƠNG Thế Vinh)', email = 'Vinh@STEAMforVietnam.org'}
]
maintainers = [
{name = 'The Vinh LUONG (LƯƠNG Thế Vinh)', email = 'Vinh@STEAMforVietnam.org'},
{name = 'STEAM for Vietnam Foundation: AI, IoT & Robotics Educational Initiative', email = 'Edu.Robotics@STEAMforVietnam.org'},
]
license = {file = 'LICENSE'}
# PYTHON VERSION REQUIREMENT
# ==========================
requires-python = '>= 3.12'
# DYNAMIC METADATA
# ================
dynamic = [
# version
'version',
# description & trove classifiers
'description',
'classifiers',
# dependencies
'dependencies',
'optional-dependencies',
# entry points / scripts
'entry-points',
'scripts',
'gui-scripts',
]
# URLs
# ====
[project.urls]
Homepage = 'https://GitHub.com/VEX-Robotics-AI/VEX-Py'
Documentation = 'https://GitHub.com/VEX-Robotics-AI/VEX-Py'
GitHub = 'https://GitHub.com/VEX-Robotics-AI/VEX-Py'
Repository = 'https://GitHub.com/VEX-Robotics-AI/VEX-Py'
# SETUPTOOLS-SPECIFIC CONFIG
# ==========================
# setuptools.pypa.io/en/latest/userguide/pyproject_config.html#setuptools-specific-configuration
[tool.setuptools]
# platforms = [] # array
zip-safe = true
# eager-resources = [] # array
py-modules = [
'motor_group',
'drivetrain',
'smartdrive',
'timer',
'vision',
]
# packages = [] # array or find directive
# package-dir = {} # table/inline-table, used when explicitly listing packages
# namespace-packages = [] # array, deprecated
package-data = {} # table/inline-table
include-package-data = true
exclude-package-data = {} # table/inline-table
license-files = ['LICEN[CS]E*'] # array of glob patterns
data-files = {} # table/inline-table, discouraged
# script-files = [] # array, deprecated
provides = [] # array, ignored by pip
obsoletes = [] # array, ignored by pip
[tool.setuptools.packages.find]
where = ['src']
include = ['*']
exclude = []
namespaces = true
[tool.setuptools.dynamic]
# version
version = {file = 'metadata/version'}
# description & trove classifiers
description = {file = 'metadata/description'}
classifiers = {file = 'metadata/classifiers'}
# dependencies
dependencies = {file = 'metadata/requirements/base.txt'}
# entry points / scripts
entry-points = {file = 'metadata/entry-points'}
# optional depedendencies
[tool.setuptools.dynamic.optional-dependencies]
build = {file = 'metadata/requirements/build.txt'}
dev = {file = 'metadata/requirements/dev.txt'}
doc = {file = 'metadata/requirements/doc.txt'}
lint = {file = 'metadata/requirements/lint.txt'}
publish = {file = 'metadata/requirements/publish.txt'}
test = {file = 'metadata/requirements/test.txt'}
# BUILD SYSTEM
# (SetUpTools)
# ============
[build-system]
requires = [
'SetUpTools >= 68.2.2',
'Wheel >= 0.41.3',
]
build-backend = 'setuptools.build_meta'
# TESTING
# (PyTest)
# ========
[tool.pytest.ini_options]
addopts = [
'--import-mode=importlib',
]
testpaths = [
'test/**/*.py',
]