all: Remove __version__ from .py files.

It is inserted automatically during publish/freezing and having them in the
code prevents the automatic process from happening.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
pull/690/head
Jim Mussared 2023-06-22 12:55:58 +10:00 zatwierdzone przez Damien George
rodzic ff842310de
commit 6103823b1b
3 zmienionych plików z 1 dodań i 6 usunięć

Wyświetl plik

@ -2,8 +2,6 @@
import time as _tmod
__version__ = "2.0.0"
_DBM = (0, 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334)
_DIM = (0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31)
_TIME_SPEC = ("auto", "hours", "minutes", "seconds", "milliseconds", "microseconds")

Wyświetl plik

@ -99,7 +99,7 @@ Using json.tool from the shell to validate and pretty-print::
$ echo '{ 1.2:3.4}' | python -m json.tool
Expecting property name enclosed in double quotes: line 1 column 3 (char 2)
"""
__version__ = "2.0.9"
__all__ = [
"dump",
"dumps",

Wyświetl plik

@ -25,9 +25,6 @@ written in Python.
# responsible for its maintenance.
#
__version__ = "2.6"
# Imports
# =======