Skip to content

Commit

Permalink
Fix packaging regression, add entrypoint (#70)
Browse files Browse the repository at this point in the history
Fixes #69
  • Loading branch information
hauntsaninja authored Mar 23, 2024
1 parent ac68905 commit adee256
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
1 change: 0 additions & 1 deletion autotyping/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
__version__ = "23.3.0"
21 changes: 7 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "autotyping"
dynamic = ["version"]
version = "23.3.0"
description = "A tool for autoadding simple type annotations."
readme = "README.md"
license = "MIT"
requires-python = ">=3.8"
authors = [
{ name = "Jelle Zijlstra", email = "[email protected]" },
Expand All @@ -34,17 +29,16 @@ dependencies = [
"libcst",
]

[project.scripts]
autotyping = "autotyping.__main__:main"

[project.urls]
"Bug Tracker" = "https://github.com/JelleZijlstra/autotyping/issues"
Homepage = "https://github.com/JelleZijlstra/autotyping"

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

[tool.hatch.build.targets.sdist]
include = [
"/autotyping",
]
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"

[tool.black]
target_version = ['py38', 'py39', 'py310', 'py311', 'py312']
Expand All @@ -64,4 +58,3 @@ skip_magic_trailing_comma = true
missing_parameter_annotation = true
missing_return_annotation = true
incompatible_override = true

0 comments on commit adee256

Please sign in to comment.