Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

Commit eb0df69

Browse files
committed
fix: setup.py not working under some environments (open used wrong codec)
1 parent da1b79a commit eb0df69

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

CHANGES.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
1.1 (unreleased)
2+
----------------
3+
4+
- fix: setup.py not working under some environments (`open` used wrong codec)
5+
6+
17
1.0
28
---
39

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
from os import path
44

55
here = path.abspath(path.dirname(__file__))
6-
with open(path.join(here, 'README.rst')) as f:
6+
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
77
README = f.read()
8-
with open(path.join(here, 'CHANGES.txt')) as f:
8+
with open(path.join(here, 'CHANGES.txt'), encoding='utf-8') as f:
99
CHANGES = f.read()
1010
with open(path.join(here, 'atomx', 'version.py')) as f:
1111
exec(f.read()) # defines VERSION and API_VERSION

0 commit comments

Comments
 (0)