Skip to content

Commit

Permalink
switch to static version, kick out __version__ attr
Browse files Browse the repository at this point in the history
  • Loading branch information
wimglenn committed Oct 27, 2022
1 parent a5f6f37 commit aceb570
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "setuptools-ext"
version = "0.5"
description = "Extension of setuptools to support all core metadata fields"
authors = [
{name = "Wim Glenn"},
Expand All @@ -18,7 +19,6 @@ dependencies = [
"toml; python_version < '3.11'",
"pathlib2; python_version < '3.5'",
]
dynamic = ["version"]

[project.optional-dependencies]
test = [
Expand All @@ -29,6 +29,3 @@ test = [

[project.urls]
Homepage = "https://github.com/wimglenn/setuptools-ext"

[tool.setuptools.dynamic]
version = {attr = "setuptools_ext.__version__"}
3 changes: 0 additions & 3 deletions setuptools_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
import toml


__version__ = "0.5"


PY2 = sys.version_info < (3,)


Expand Down

0 comments on commit aceb570

Please sign in to comment.