-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
44 lines (38 loc) · 1.34 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
[tool.poetry]
name = "flatgeobuf"
version = "0.3.1"
description = "Python library for FlatGeobuf"
license = "MIT"
homepage = "https://github.com/ozekik/python-flatgeobuf"
repository = "https://github.com/ozekik/python-flatgeobuf"
authors = ["Kentaro Ozeki <[email protected]>"]
readme = "README.md"
packages = [{ include = "flatgeobuf" }, { include = "NOTICE.txt" }]
[tool.poetry.dependencies]
python = "^3.9"
flatbuffers = "^24.3.7"
geojson = "^3.1.0"
numpy = ">=1.26.1,<3.0.0"
shapely = ">=1.8.2" # micropip supports only 1.8.2 in some older jupyterlite versions
[tool.poetry.group.test.dependencies]
pytest = "^8.1.1"
coverage = { extras = ["toml"], version = "^7.4.3" }
pytest-cov = "^4.1.0"
[tool.poetry.group.dev.dependencies]
unasyncd = "^0.7.1"
[tool.unasyncd]
files = { "flatgeobuf/async_http_reader.py" = "flatgeobuf/http_reader.py" }
# exclude = ["Something", "SomethingElse.within"]
# per_file_exclude = { "foo.py" = ["special_foo"] }
# per_file_add_replacements = { "async_thing.py" = { "AsyncClass" = "SyncClass" } }
# transform_docstrings = true
remove_unused_imports = true
# no_cache = false
# force_regen = false
[tool.unasyncd.add_replacements]
"get_range_async" = "get_range"
"stream_search_async" = "stream_search"
"AsyncHTTPReader" = "HTTPReader"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"