-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
46 lines (32 loc) · 1013 Bytes
/
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
[project]
name = "nix_python"
description = "Beginner-friendly python project template with Nix"
readme = "README.md"
requires-python = ">=3.9, <4"
license = {file = "LICENSE.txt"}
dependencies = [
"Flask",
"pandas",
"numpy",
"loguru",
"torch",
]
# see tool.setuptools.dynamic below
dynamic = ["version"]
[tool.setuptools.dynamic]
version = {attr = "nix_python.VERSION"}
[tool.setuptools.packages.find]
where = ["src"] # list of folders that contain the packages (["."] by default)
include = ["nix_python*"] # package names should match these glob patterns (["*"] by default)
namespaces = false # to disable scanning PEP 420 namespaces (true by default)
[project.urls]
"Homepage" = "https://github.com/abdullin/bgn-python"
[project.scripts]
"serve" = "nix_python.serve:serve"
"nix-python" = "nix_python.serve:serve"
[build-system]
# we still use setup tools
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.distutils.bdist_wheel]
universal = true