Skip to content

Commit 24369ca

Browse files
committed
add VERSION file
1 parent b171505 commit 24369ca

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.1.2

setup.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,15 @@ def readme():
77
return content
88

99

10+
def get_version():
11+
with open('VERSION', encoding='utf-8') as f:
12+
version = f.read()
13+
return version
14+
15+
1016
setup(
1117
name='thonny-quecpython',
12-
version='0.1.2',
18+
version=get_version(),
1319
description='quecpython programing kits for thonny',
1420
long_description=readme(),
1521
long_description_content_type='text/x-rst',

0 commit comments

Comments
 (0)