-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
82 lines (70 loc) · 1.69 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
[project]
name = "parmap"
version = "1.7.0.9000"
authors = [
{ name="Sergio Oller", email="[email protected]" },
]
description = "map and starmap implementations passing additional arguments and parallelizing if possible"
license = "Apache-2.0"
readme = "README.rst"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[project.urls]
"Homepage" = "https://github.com/zeehio/parmap"
"Bug Tracker" = "https://github.com/zeehio/parmap/issues"
[project.optional-dependencies]
progress_bar = ["tqdm>=4.8.4"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
ignore-vcs = true
include = [
"parmap",
"*.txt",
"README.rst",
"ChangeLog",
"docs/*.rst",
"docs/conf.py",
"docs/Makefile",
"docs/make.bat",
]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py38, py39, py310, py311, mypy, coverage
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311, mypy, coverage
[testenv:coverage]
deps =
coverage
tqdm
commands =
coverage run --parallel-mode --concurrency=multiprocessing test_parmap.py
coverage combine
coverage report
coverage xml
[testenv:mypy]
deps =
mypy
tqdm
commands =
mypy -p parmap
[testenv]
deps = pytest
commands = pytest {posargs} # substitute with tox' positional arguments
"""