diff --git a/CHANGELOG.md b/CHANGELOG.md index 6862c6e..6646cbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,9 @@ # Changelog -## 0.10.0 : +## 0.10.0 : 01.06.2020 -- **Change**: All package exceptions inherits from `ApiFormException` +- **Change**: All package exceptions inherits from `ApiFormException`. +- **Fix**: Specifying encoding while opening files in `setup.py` (failing on Windows OS). ## 0.9.0 : 11.05.2020 diff --git a/setup.py b/setup.py index d9837a9..2098214 100644 --- a/setup.py +++ b/setup.py @@ -10,13 +10,13 @@ def read_files(files): data = [] for file in files: - with open(file) as f: - data.append(f.read()) + with open(file, encoding='utf-8') as my_file: + data.append(my_file.read()) return "\n".join(data) meta = {} -with open('django_api_forms/version.py') as f: +with open('django_api_forms/version.py', encoding='utf-8') as f: exec(f.read(), meta) setup(