-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
56 lines (47 loc) · 1.43 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
[tool.poetry]
name = "mojxml"
version = "0.4.0"
description = 'A tool for fast conversion of Japanese "MOJ Map XML" (land registration polygons) into geospatial formats.'
authors = ["MIERUNE Inc. <info@mierune.co.jp>"]
readme = "README.md"
homepage = "https://github.com/MIERUNE/mojxml-py"
repository = "https://github.com/MIERUNE/mojxml-py"
license = "MIT"
packages = [{ include = "mojxml", from = "src" }]
classifiers = [
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: GIS",
"Intended Audience :: Science/Research",
]
[tool.poetry.scripts]
mojxml2ogr = 'mojxml.__main__:main'
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
lxml = ">=4.9.2,<6.0.0"
fiona = "^1.9.1"
click = "^8.1.3"
pyproj = "^3.6.1"
[tool.poetry.group.dev.dependencies]
pytest = ">=7.4,<9.0"
pytest-cov = ">=4,<6"
pyright = "^1.1"
ruff = ">=0.1,<0.5"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
select = ["F", "E", "W", "B", "N", "I", "UP", "C90", "ANN"]
ignore = ["ANN101"]
target-version = "py38"
[tool.ruff.per-file-ignores]
"tests/*" = ["ANN"]
[tool.pyright]
executionEnvironments = [{ root = "tests", extraPaths = ["src"] }]
[tool.pytest.ini_options]
pythonpath = "src"
addopts = ["--import-mode=importlib"]
[tool.coverage.run]
source = ['mojxml']
concurrency = ["multiprocessing"]