diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 085dc02..e4a58b1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,10 +24,6 @@ repos: - id: python-no-log-warn - id: python-use-type-annotations - id: text-unicode-replacement-char -- repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.5.0 - hooks: - - id: setup-cfg-fmt - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.3.4 hooks: diff --git a/pyproject.toml b/pyproject.toml index ab86f5e..6296c99 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,6 +2,60 @@ requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.0"] build-backend = "setuptools.build_meta" +[project] +name = "pytask_julia" +description = "A Pytask plugin for Julia" +classifiers = [ + "Development Status :: 4 - Beta", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only" +] +requires-python = ">=3.8" +dependencies = [ + "pluggy>=1.0.0", + "pytask>=0.4.5" +] +dynamic = ["version"] + +[[project.authors]] +name = "Tobias Raabe" +email = "raabe@posteo.de" + +[project.readme] +file = "README.md" +content-type = "text/markdown" + +[project.license] +text = "MIT" + +[project.urls] +Homepage = "https://github.com/pytask-dev/pytask-julia" +Changelog = "https://github.com/pytask-dev/pytask-julia/blob/main/CHANGES.md" +Documentation = "https://github.com/pytask-dev/pytask-julia" +Github = "https://github.com/pytask-dev/pytask-julia" +Tracker = "https://github.com/pytask-dev/pytask-julia/issues" + +[tool.setuptools] +include-package-data = true +zip-safe = false +platforms = ["any"] +license-files = ["LICENSE"] + +[tool.check-manifest] +ignore = ["src/pytask_julia/_version.py"] + +[project.entry-points.pytask] +pytask_julia = "pytask_julia.plugin" + +[tool.setuptools.package-dir] +"" = "src" + +[tool.setuptools.packages.find] +where = ["src"] +namespaces = false + [tool.setuptools_scm] write_to = "src/pytask_julia/_version.py" diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index bf87ad0..0000000 --- a/setup.cfg +++ /dev/null @@ -1,43 +0,0 @@ -[metadata] -name = pytask_julia -description = A Pytask plugin for Julia -long_description = file: README.md -long_description_content_type = text/markdown -url = https://github.com/pytask-dev/pytask-julia -author = Tobias Raabe -author_email = raabe@posteo.de -license = MIT -license_files = LICENSE -platforms = any -classifiers = - Development Status :: 4 - Beta - License :: OSI Approved :: MIT License - Operating System :: OS Independent - Programming Language :: Python :: 3 - Programming Language :: Python :: 3 :: Only -project_urls = - Changelog = https://github.com/pytask-dev/pytask-julia/blob/main/CHANGES.md - Documentation = https://github.com/pytask-dev/pytask-julia - Github = https://github.com/pytask-dev/pytask-julia - Tracker = https://github.com/pytask-dev/pytask-julia/issues - -[options] -packages = find: -install_requires = - pluggy>=1.0.0 - pytask>=0.4.5 -python_requires = >=3.8 -include_package_data = True -package_dir = =src -zip_safe = False - -[options.packages.find] -where = src - -[options.entry_points] -pytask = - pytask_julia = pytask_julia.plugin - -[check-manifest] -ignore = - src/pytask_julia/_version.py