-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (43 loc) · 1.32 KB
/
pyproject.toml
File metadata and controls
50 lines (43 loc) · 1.32 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
[build-system]
requires = [
"setuptools",
"numpy",
]
build-backend = "setuptools.build_meta"
[project]
name = "project_template"
description = "A generic interface to generate a virtual buddy"
dynamic = ["version"]
authors = [
{name = "Pariterre", email = "pariterre@hotmail.com"},
]
readme = "README.md"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python"
]
requires-python = ">=3.10"
dependencies = [
"numpy",
]
# Any dev dependencies can go here. Also, if a package is not available on pip, it should be referenced here
[project.optional-dependencies]
test = ["pytest"]
[project.urls]
Documentation = "https://github.com/pyomeca/python_project_template/tree/main#readme"
Source = "https://github.com/pyomeca/python_project_template"
Tracker = "https://github.com/pyomeca/python_project_template/issues"
# Auto-discover all packages inside the repo root
[tool.setuptools.packages.find]
where = ["."]
include = ["project_template*"]
[tool.setuptools.dynamic]
version = {attr = "project_template.version.__version__"}
# Any non *.py files that must be bundled with the package must be listed here. ** and * wildcards can be used
[tool.setuptools.package-data]
project_template = [
# "subfolder/**/*.extension"
]
[tool.pytest.ini_options]
pythonpath = "."
testpaths = "tests"