-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (46 loc) · 1.73 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
[build-system]
requires = ["setuptools", "wheel"]
[project]
name = "pymarian_webapp"
dynamic = ["version", "dependencies"]
description = "Pymarian Web App"
requires-python = ">=3.9"
authors = [
{name = "Thamme Gowda", email = "[email protected]"},
{name = "Matt Post", email = "[email protected]"},
]
readme = "README.md"
license = {file = "LICENSE.txt"}
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
[project.urls]
homepage = "https://github.com/marian-nmt/pymarian-webapp"
documentation = "https://github.com/marian-nmt/pymarian-webapp"
[project.scripts]
pymarian-webapp = "pymarian_webapp.app:main"
[tool.setuptools]
include-package-data = true # see whats in MANIFEST.in
[tool.setuptools.packages.find]
where = ["."] # by default, find packages in current directory
include = ["pymarian_webapp*"] # package names should match these glob patterns (["*"] by default)
#exclude = ["my_package.tests*"] # exclude packages matching these glob patterns
[tool.setuptools.exclude-package-data]
pymarian_webapp = [".gitattributes"] # dont include files not tracked by git
[tool.setuptools.dynamic]
version = {attr = "pymarian_webapp.__version__"}
dependencies = {file = "requirements.txt"}
[tool.black]
line-length = 110
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
include = '.*\.pyi?$'
skip-string-normalization = true
exclude = "pyleaf.*"
# black doesn't sort imports. So we use isort for that. See discussion https://github.com/psf/black/issues/333
[tool.isort]
profile = "black"
src_paths = ["pymarian_webapp"]