|
1 | 1 | [build-system]
|
2 |
| -requires = ["poetry-core>=1.0.0"] |
3 |
| -build-backend = "poetry.core.masonry.api" |
| 2 | +requires = ["hatchling"] |
| 3 | +build-backend = "hatchling.build" |
4 | 4 |
|
5 | 5 | [project]
|
6 | 6 | name = "spacy-partial-tagger"
|
7 |
| -requires-python = ">=3.8" |
8 |
| - |
9 |
| -[tool.poetry] |
10 |
| -name = "spacy-partial-tagger" |
11 |
| -version = "0.15.2" |
12 | 7 | description = "Sequence Tagger for Partially Annotated Dataset in spaCy"
|
13 |
| -authors = [ "yasufumi <[email protected]>"] |
14 |
| -license = "MIT" |
15 |
| -readme = "README.md" |
16 |
| -repository = "https://github.com/tech-sketch/spacy-partial-tagger" |
| 8 | +requires-python = ">=3.8,<4.0" |
| 9 | +readme = {file = "README.md", content-type = "text/markdown"} |
| 10 | +license = {file = "LICENSE"} |
| 11 | +authors = [ |
| 12 | + { name = "Yasufumi Taniguchi", email = "[email protected]"}, |
| 13 | +] |
17 | 14 | classifiers = [
|
18 | 15 | "Programming Language :: Python",
|
19 | 16 | "Programming Language :: Python :: 3.8",
|
20 | 17 | "Programming Language :: Python :: 3.9"
|
21 | 18 | ]
|
| 19 | +dependencies = [ |
| 20 | + "thinc<9.0.0,>=8.0.15", |
| 21 | + "transformers[ja]<5.0.0,>=4.25.1", |
| 22 | + "torch<3.0.0,>=2.0.1", |
| 23 | + "spacy[transformers]<4.0.0,>=3.3.1", |
| 24 | + "spacy-alignments<1.0.0,>=0.8.5", |
| 25 | + "pytorch-partial-tagger<1.0.0,>=0.1.12", |
| 26 | +] |
| 27 | +dynamic = ["version"] |
22 | 28 |
|
23 |
| -[tool.poetry.dependencies] |
24 |
| -python = "^3.8" |
25 |
| -thinc = "^8.0.15" |
26 |
| -transformers = {extras = ["ja"], version = "^4.25.1"} |
27 |
| -torch = "^2.0.1" |
28 |
| -spacy = {extras = ["transformers"], version = "^3.3.1"} |
29 |
| -spacy-alignments = "^0.8.5" |
30 |
| -pytorch-partial-tagger = "^0.1.12" |
| 29 | +[project.urls] |
| 30 | +Repository = "https://github.com/doccano/spacy-partial-tagger" |
31 | 31 |
|
32 |
| -[tool.poetry.group.dev.dependencies] |
33 |
| -mypy = "^1.3.0" |
34 |
| -black = "^22.3.0" |
35 |
| -pytest = "^7.1.1" |
36 |
| -isort = "^5.10.1" |
37 |
| -flake8 = "^4.0.1" |
38 |
| -pytest-cov = "^3.0.0" |
39 |
| -ruff = "^0.0.270" |
| 32 | +[project.optional-dependencies] |
| 33 | +dev = [ |
| 34 | + "mypy>=1.3.1", |
| 35 | + "black>=23.3.0", |
| 36 | + "pytest>=7.1.1", |
| 37 | + "isort>=5.10.1", |
| 38 | + "flake8>=4.0.1", |
| 39 | + "pytest-cov>=3.0.0", |
| 40 | + "ruff>=0.0.270", |
| 41 | +] |
40 | 42 |
|
41 |
| -[tool.poetry.plugins.spacy_factories] |
| 43 | +[project.entry-points] |
| 44 | +[project.entry-points.spacy_factories] |
42 | 45 | partial_ner = "spacy_partial_tagger.pipeline:make_partial_ner"
|
43 | 46 |
|
44 |
| -[tool.poetry.plugins.spacy_architectures] |
| 47 | +[project.entry-points.spacy_architectures] |
45 | 48 | "spacy-partial-tagger.PartialTagger.v1" = "spacy_partial_tagger.tagger:build_partial_tagger_v1"
|
46 | 49 |
|
| 50 | +[tool.hatch.version] |
| 51 | +path = "spacy_partial_tagger/__about__.py" |
| 52 | + |
47 | 53 | [tool.mypy]
|
48 | 54 | ignore_missing_imports = true
|
49 | 55 | disallow_untyped_defs = true
|
50 | 56 | show_error_codes = true
|
51 | 57 |
|
52 |
| -[tool.isort] |
53 |
| -profile = "black" |
54 |
| -include_trailing_comma = true |
55 |
| -multi_line_output = 3 |
56 |
| - |
57 | 58 | [tool.black]
|
58 | 59 | exclude = '''
|
59 | 60 | /(
|
|
0 commit comments