From 9ffe4cef96be2af7616ac680f64d988c69bdd85e Mon Sep 17 00:00:00 2001 From: Dominik Holland Date: Thu, 1 Jun 2017 14:05:51 +0200 Subject: Add 'six' as a requirement to requirements.txt and setup.py (#46) It seems like the 'six' package is a dependency and needs to be installed expliclty. --- requirements.txt | 1 + setup.py | 1 + 2 files changed, 2 insertions(+) diff --git a/requirements.txt b/requirements.txt index c0f6959..e34954c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,3 +8,4 @@ pyyaml pytest coverage pytest-cov +six diff --git a/setup.py b/setup.py index c9815a6..c116e0c 100644 --- a/setup.py +++ b/setup.py @@ -53,6 +53,7 @@ setup( 'antlr4-python3-runtime>=4.6', 'click', 'watchdog', + 'six', ], extras_require={ 'dev': [ -- cgit v1.2.1 From 2a723b2085c671f973c827893c8fd0bb43acbe24 Mon Sep 17 00:00:00 2001 From: Dominik Holland Date: Mon, 19 Jun 2017 13:46:11 +0200 Subject: Fix generator.py to always write with the utf-8 encoding (#47) On windows the default encoding is not utf-8, that's why need to set it when opening a file for writing --- qface/generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qface/generator.py b/qface/generator.py index db1235c..6b43e88 100644 --- a/qface/generator.py +++ b/qface/generator.py @@ -85,7 +85,7 @@ class Generator(object): click.secho('preserve changed file: {0}'.format(path), fg='blue') else: click.secho('write changed file: {0}'.format(path), fg='blue') - path.open('w').write(data) + path.open('w', encoding='utf-8').write(data) def _has_different_content(self, data, path): if not path.exists(): -- cgit v1.2.1 From ab23ca37aa9320f63bf04c8643b088f5cc3f69db Mon Sep 17 00:00:00 2001 From: Juergen Bocklage-Ryannel Date: Wed, 7 Mar 2018 20:28:35 +0100 Subject: bumped version to 1.10 --- qface/__about__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qface/__about__.py b/qface/__about__.py index e63ff15..2b8012d 100644 --- a/qface/__about__.py +++ b/qface/__about__.py @@ -9,7 +9,7 @@ except NameError: __title__ = "qface" __summary__ = "A generator framework based on a common modern IDL" __url__ = "https://pelagicore.github.io/qface/" -__version__ = "1.9.1" +__version__ = "1.10" __author__ = "JRyannel" __author_email__ = "qface-generator@googlegroups.com" -__copyright__ = "2019 Pelagicore" +__copyright__ = "2018 Pelagicore" -- cgit v1.2.1