Skip to content

Commit

Permalink
move version back to package (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuadavidthomas authored and jefftriplett committed Sep 25, 2023
1 parent 355f853 commit 14bbdac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ dependencies = [
"dj-database-url",
]
description = "A Django app for relaying email to an external service via a database."
dynamic = ["version"]
keywords = []
license = "MIT"
name = "django-email-relay"
readme = "README.md"
requires-python = ">=3.8"
version = "0.1.0"

[project.optional-dependencies]
dev = [
Expand Down Expand Up @@ -77,6 +77,9 @@ exclude = [
[tool.hatch.build.targets.wheel]
packages = ["src/email_relay"]

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

[tool.black]
exclude = '''
/(
Expand Down
4 changes: 1 addition & 3 deletions src/email_relay/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import importlib.metadata

__version__ = importlib.metadata.version("email_relay")
__version__ = "0.1.0"

0 comments on commit 14bbdac

Please sign in to comment.