Skip to content

Commit

Permalink
Switch to Hatch.
Browse files Browse the repository at this point in the history
  • Loading branch information
mindflayer committed Jul 30, 2023
1 parent 04a82a5 commit c6f7f16
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions mocket/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
from .mocket import Mocket, MocketEntry, Mocketizer, mocketize

__all__ = ("async_mocketize", "mocketize", "Mocket", "MocketEntry", "Mocketizer")

__version__ = "3.11.1"
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
requires-python = ">=3.5"
name = "mocket"
description = "Socket Mock Framework - for all kinds of socket animals, web-clients included - with gevent/asyncio/SSL support"
version = "3.11.1"
readme = { file = "README.rst", content-type = "text/x-rst" }
license = { file = "LICENSE" }
authors = [{ name = "Giorgio Salluzzo", email = "[email protected]" }]
Expand Down Expand Up @@ -65,3 +64,6 @@ speedups = [
pook = [
"pook>=0.2.1",
]

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

0 comments on commit c6f7f16

Please sign in to comment.