Skip to content

Commit 9cb9bea

Browse files
committed
Keep version information only in the pyproject.toml, not in the python
1 parent 44bb1a9 commit 9cb9bea

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[project]
22
name = "simpleeval"
3+
version = "1.0.1"
34
requires-python = ">=3.9"
45
readme = "README.rst"
56
description = "A simple, safe single expression evaluator library."
@@ -21,7 +22,6 @@ classifiers = [
2122
"Topic :: Software Development :: Libraries :: Python Modules",
2223
"Programming Language :: Python",
2324
]
24-
dynamic = ["version"]
2525
dependencies = [
2626
"pip>=24.2",
2727
]

simpleeval.py

-2
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@
102102
103103
"""
104104

105-
__version__ = "1.0.1"
106-
107105
import ast
108106
import operator as op
109107
import sys

0 commit comments

Comments
 (0)