-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
38 lines (32 loc) · 829 Bytes
/
pyproject.toml
File metadata and controls
38 lines (32 loc) · 829 Bytes
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
[build-system]
requires = ["hatchling>=1.18"]
build-backend = "hatchling.build"
[project]
name = "preproc-pkg"
version = "0.1.5"
description = "Persian text preprocessing: normalization, spell, formalization, stopword, lemmatization, stemming"
readme = "README.md"
requires-python = ">=3.8,<3.9"
license = { file = "LICENSE" }
authors = [{ name = "Mehrpooya Navaienezhad", email = "mnavaienezhad@gmail.com" }]
dependencies = [
"hazm==0.9.4",
"parsivar==0.2.3.1",
"nltk==3.9.1",
]
[project.optional-dependencies]
formalizer = [
"transformers==4.41.2",
"torch==2.2.2+cpu",
]
[project.scripts]
preproc-cli = "preproc_pkg.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["preproc_pkg"]
[tool.hatch.build.targets.sdist]
include = [
"preproc_pkg/**",
"README.md",
"LICENSE",
"constraints/py38-cpu.txt",
]