Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit da62d57

Browse files
committed
Make it easier to runtime-inspect the CKEditor version
1 parent 264e77e commit da62d57

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ckeditor/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
VERSION = (5, 2, 2)
2+
__version__ = '.'.join(map(str, VERSION))

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import sys
55
from setuptools import setup, find_packages
66

7-
version = '5.2.2'
7+
version = __import__('ckeditor').__version__
88

99
if sys.argv[-1] == 'publish':
1010
os.system('python setup.py sdist upload')

0 commit comments

Comments
 (0)