-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (48 loc) · 1.09 KB
/
pyproject.toml
File metadata and controls
60 lines (48 loc) · 1.09 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
[build-system]
requires = ["setuptools==69.2.0"]
build-backend = "setuptools.build_meta"
[project]
name = "packaging_example"
version = "0.0.9"
authors = [
{ name="Per Stoffer Jensen", email="perstofferjensen@gmail.com" },
]
description = "python packaging examples"
requires-python = ">=3.10,<3.11"
dependencies = [
"pyinstaller==6.4.0",
]
[project.optional-dependencies]
dev = [
"flake8",
"black",
"isort",
"build",
"wheel",
"pytest",
"ipython",
"ipykernel",
"pre-commit",
"nbmake",
"pandas",
"tomli",
"setuptools==69.2.0",
]
[project.scripts]
hello2 = "packaging_example.my_module:hello2"
hello1 = "packaging_example.my_module:hello"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["src"]
#include = ["packaging_example"]
[tool.setuptools.package-data]
"*" = ["*.csv", "*.png"]
#"packaging_example" = ["**/*.json", "**/*.xlsx", "**/*.png", "**/*.csv"]
[tool.setuptools.exclude-package-data]
"packaging_example.data" = ["*.txt"]
[tool.black]
line-length = 122
[tool.isort]
line_length = 122
profile = "black"