-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
103 lines (92 loc) · 2.4 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# pyproject.toml
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pypoprf"
version = "0.1.0"
description = "A Python package for population prediction and dasymetric mapping."
readme = "README.md"
authors = [
{ name = "Borys Nosatiuk", email = "[email protected]" },
{ name = "Rhorom Priyatikanto", email = "[email protected]" }]
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
keywords = ["population", "mapping", "GIS", "machine learning", "dasymetric", "random forest"]
dependencies = [
"numpy>=1.24.0",
"pandas>=2.0.0",
"geopandas>=0.14.0",
"rasterio>=1.3.0",
"scikit-learn>=1.3.0",
"matplotlib>=3.7.0",
"tqdm>=4.65.0",
"click>=8.1.0",
"pyyaml>=6.0.0",
"joblib>=1.3.0",
]
requires-python = ">=3.9"
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.1",
"black>=23.0",
"isort>=5.12",
"flake8>=6.0",
"mypy>=1.5",
"ruff>=0.1.0",
]
docs = [
"sphinx>=7.0",
"sphinx-rtd-theme>=1.3",
"sphinx-autodoc-typehints>=1.24",
"myst-parser>=2.0.0"
]
[project.urls]
Homepage = "https://github.com/wpgp/pypopRF"
Documentation = "https://wpgp.github.io/pypopRF"
Repository = "https://github.com/wpgp/pypopRF.git"
Issues = "https://github.com/wpgp/pypopRF/issues"
[project.scripts]
pypoprf = "pypoprf.cli.main:cli"
[tool.setuptools]
package-dir = {"" = "src"}
packages = ["pypoprf"]
[tool.setuptools.package-data]
pypoprf = ["py.typed"]
[tool.black]
line-length = 88
target-version = ["py312"]
include = '\.pyi?$'
[tool.isort]
profile = "black"
multi_line_output = 3
known_first_party = ["pypoprf"]
[tool.ruff]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = []
line-length = 88
target-version = "py312"
[tool.mypy]
python_version = "3.9"
disallow_untyped_defs = true
check_untyped_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
strict_optional = true