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

Commit cb25911

Browse files
committed
feat: read version from version.py
1 parent 9cd7d12 commit cb25911

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,12 @@ report.html
4545
demo/test_doubandaily.txt
4646
htmlcov/
4747
run.sh
48+
4849
# for eclipse
4950
.settings
5051
.eggs/
5152
.cache/
5253
venv*/
54+
55+
# Vscode
56+
.vscode

AppiumFlutterLibrary/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# -*- coding: utf-8 -*-
2-
VERSION = '1.0.0-beta'
2+
VERSION = '1.0.0-beta2'

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@
55

66
ROOT = dirname(abspath(__file__))
77

8+
version_file = join(ROOT, 'AppiumFlutterLibrary', 'version.py')
9+
exec (compile(open(version_file).read(), version_file, 'exec'))
10+
811
setup(name='robotframework-appiumflutterlibrary',
9-
version='1.0.0-beta',
12+
version=VERSION,
1013
description='Robot Framework Mobile flutter app testing library for Appium Client Android & iOS & Web',
1114
long_description=open(join(ROOT, 'README.md')).read(),
1215
author='Igor Augusto',

0 commit comments

Comments
 (0)