Skip to content

Commit f68c700

Browse files
authored
Switch to pyproject.toml. (#27)
1 parent 97a499a commit f68c700

File tree

3 files changed

+54
-47
lines changed

3 files changed

+54
-47
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ repos:
2424
- id: python-no-log-warn
2525
- id: python-use-type-annotations
2626
- id: text-unicode-replacement-char
27-
- repo: https://github.com/asottile/setup-cfg-fmt
28-
rev: v2.5.0
29-
hooks:
30-
- id: setup-cfg-fmt
3127
- repo: https://github.com/astral-sh/ruff-pre-commit
3228
rev: v0.3.4
3329
hooks:

pyproject.toml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,60 @@
22
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.0"]
33
build-backend = "setuptools.build_meta"
44

5+
[project]
6+
name = "pytask_julia"
7+
description = "A Pytask plugin for Julia"
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+
"pluggy>=1.0.0",
18+
"pytask>=0.4.5"
19+
]
20+
dynamic = ["version"]
21+
22+
[[project.authors]]
23+
name = "Tobias Raabe"
24+
25+
26+
[project.readme]
27+
file = "README.md"
28+
content-type = "text/markdown"
29+
30+
[project.license]
31+
text = "MIT"
32+
33+
[project.urls]
34+
Homepage = "https://github.com/pytask-dev/pytask-julia"
35+
Changelog = "https://github.com/pytask-dev/pytask-julia/blob/main/CHANGES.md"
36+
Documentation = "https://github.com/pytask-dev/pytask-julia"
37+
Github = "https://github.com/pytask-dev/pytask-julia"
38+
Tracker = "https://github.com/pytask-dev/pytask-julia/issues"
39+
40+
[tool.setuptools]
41+
include-package-data = true
42+
zip-safe = false
43+
platforms = ["any"]
44+
license-files = ["LICENSE"]
45+
46+
[tool.check-manifest]
47+
ignore = ["src/pytask_julia/_version.py"]
48+
49+
[project.entry-points.pytask]
50+
pytask_julia = "pytask_julia.plugin"
51+
52+
[tool.setuptools.package-dir]
53+
"" = "src"
54+
55+
[tool.setuptools.packages.find]
56+
where = ["src"]
57+
namespaces = false
58+
559
[tool.setuptools_scm]
660
write_to = "src/pytask_julia/_version.py"
761

setup.cfg

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

0 commit comments

Comments
 (0)