Skip to content

Commit 36b0336

Browse files
authored
Move to pyproject.toml. (#72)
1 parent 82fbf17 commit 36b0336

File tree

4 files changed

+58
-55
lines changed

4 files changed

+58
-55
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ repos:
2727
hooks:
2828
- id: reorder-python-imports
2929
args: [--py38-plus, --add-import, 'from __future__ import annotations']
30-
- repo: https://github.com/asottile/setup-cfg-fmt
31-
rev: v2.5.0
32-
hooks:
33-
- id: setup-cfg-fmt
3430
- repo: https://github.com/astral-sh/ruff-pre-commit
3531
rev: v0.1.6
3632
hooks:

codecov.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,4 @@ coverage:
2121

2222
ignore:
2323
- ".tox/**/*"
24-
- "setup.py"
25-
- "versioneer.py"
2624
- "src/pytask_parallel/_version.py"

pyproject.toml

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,68 @@
22
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.0"]
33
build-backend = "setuptools.build_meta"
44

5+
[project]
6+
name = "pytask_parallel"
7+
description = "Parallelize the execution of tasks with pytask."
8+
classifiers = [
9+
"Development Status :: 4 - Beta",
10+
"License :: OSI Approved :: MIT License",
11+
"Operating System :: OS Independent",
12+
"Programming Language :: Python :: 3",
13+
"Programming Language :: Python :: 3 :: Only"
14+
]
15+
requires-python = ">=3.8"
16+
dependencies = [
17+
"attrs>=21.3.0",
18+
"click",
19+
"cloudpickle",
20+
"loky",
21+
"pluggy>=1.0.0",
22+
"pytask>=0.4.0",
23+
"rich"
24+
]
25+
dynamic = ["version"]
26+
27+
[[project.authors]]
28+
name = "Tobias Raabe"
29+
30+
31+
[project.readme]
32+
file = "README.md"
33+
content-type = "text/markdown"
34+
35+
[project.license]
36+
text = "MIT"
37+
38+
[project.urls]
39+
Homepage = "https://github.com/pytask-dev/pytask-parallel"
40+
Changelog = "https://github.com/pytask-dev/pytask-parallel/blob/main/CHANGES.md"
41+
Documentation = "https://github.com/pytask-dev/pytask-parallel"
42+
Github = "https://github.com/pytask-dev/pytask-parallel"
43+
Tracker = "https://github.com/pytask-dev/pytask-parallel/issues"
44+
45+
[tool.setuptools]
46+
include-package-data = true
47+
zip-safe = false
48+
platforms = [ "any",]
49+
license-files = [ "LICENSE",]
50+
51+
[tool.check-manifest]
52+
ignore = ["src/pytask_parallel/_version.py"]
53+
54+
[project.entry-points.pytask]
55+
pytask_parallel = "pytask_parallel.plugin"
56+
57+
[tool.setuptools.package-dir]
58+
"" = "src"
59+
60+
[tool.setuptools.packages.find]
61+
where = ["src"]
62+
namespaces = false
563

664
[tool.setuptools_scm]
765
write_to = "src/pytask_parallel/_version.py"
866

9-
1067
[tool.mypy]
1168
files = ["src", "tests"]
1269
check_untyped_defs = true

setup.cfg

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)