Skip to content

Commit

Permalink
Switch packaging to hatch, get rid of setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Jul 21, 2023
1 parent 878fdaf commit 88f4920
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
1 change: 0 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

The MIT License (MIT)

Copyright (c) 2018 Valohai
Expand Down
30 changes: 26 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,28 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "hai"
dynamic = ["version"]
description = "Toolbelt library"
readme = "README.md"
license = "MIT"
requires-python = ">=3.7"
authors = [
{ name = "Valohai", email = "[email protected]" },
]

[project.urls]
Homepage = "https://github.com/valohai/hai"

[tool.hatch.version]
path = "hai/__init__.py"

[tool.hatch.build.targets.sdist]
include = [
"/hai",
]
build-backend = "setuptools.build_meta"

[tool.mypy]
strict = true
Expand Down Expand Up @@ -37,3 +56,6 @@ select = [
ignore = [
"E741", # Ambiguous variable name
]

[tool.pytest.ini_options]
norecursedirs = [".git", ".tox"]
21 changes: 0 additions & 21 deletions setup.cfg

This file was deleted.

0 comments on commit 88f4920

Please sign in to comment.