Skip to content

Commit

Permalink
Fix version definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
goztrk committed Oct 30, 2023
1 parent 6b0628c commit db78426
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nanoid_field/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from nanoid_field.fields import NanoidField

__version__ = "0.1.0"
__version__ = "0.1.2"

__all__ = [
"NanoidField",
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[project]
name = "django-nanoid-field"
version = "0.1.0"
license = { text = "MIT" }
authors = [{ name = "Gokhan Ozturk", email = "[email protected]" }]
description = "Next generation NanoID in Django Model IDs"
Expand All @@ -15,6 +14,7 @@ classifiers = [
]
readme = "README.md"
dependencies = ["nanoid", "django>=2"]
dynamic = ["version"]

[project.urls]
Homepage = "https://github.com/goztrk/django-nanoid-field"
Expand All @@ -27,3 +27,6 @@ build-backend = "setuptools.build_meta"

[tool.setuptools]
packages = ["nanoid_field"]

[tool.setuptools.dynamic]
version = { attr = "nanoid_field.__version__" }

0 comments on commit db78426

Please sign in to comment.