-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
77 lines (65 loc) · 2.14 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
[project]
name = "sotastream"
dynamic = ["version"] # see [tool.setuptools.dynamic] below
description = """Sotastream is a command line tool that augments a batch of text and produces infinite stream of records."""
readme = "README.md"
requires-python = ">=3.6"
license = { file = "LICENSE.txt" }
keywords = [
"data augmentation",
"machine translation",
"natural language processing",
"text processing",
"text augmentation",
"machine learning",
"deep learning",
"artificial intelligence",
]
authors = [
{ name = "Text MT @ Microsoft Translator", email = "[email protected]" },
]
maintainers = [
{ name = "Thamme Gowda", email = "[email protected]" },
{ name = "Roman Grundkiewicz", email = "[email protected]" },
{ name = "Matt Post", email = "[email protected]" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
]
dependencies = [
"titlecase",
"infinibatch",
"sentencepiece",
"mtdata >= 0.4.0",
]
[project.optional-dependencies]
dev = ["black", "sphinx", "sphinx_rtd_theme"]
test = ["pytest < 5.0.0", "pytest-cov[all]"]
[project.urls]
homepage = "https://github.com/marian-nmt/sotastream"
documentation = "https://github.com/marian-nmt/sotastream"
repository = "https://github.com/marian-nmt/sotastream"
#changelog = ""
[project.scripts]
sotastream = "sotastream.cli:main"
# all the above are project metadata, below is configuration for the build system
# there are many build systems: setuptools, flit, poetry, etc.
# we use setuptools here (because we are familiar with setup.py which uses it)
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
version = {attr = "sotastream.__version__"}
[tool.setuptools.packages.find]
#where = ["src"] # ["."] by default
include = ["sotastream*"] # ["*"] by default
exclude = ["tests*", "tmp*", "build*", "dist*"] # empty by default
#####################
[tool.black]
line-length = 110
target-version = ['py37', 'py38', 'py39']
include = '\.pyi?$'
skip-string-normalization = true
[tool.pytest.ini_options]
addopts = " -v"