Skip to content

Commit 1285f92

Browse files
Specify utf-8 encoding in setup.py (#58)
1 parent e84077e commit 1285f92

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- Explicitly use `utf-8` encoding in `setup.py`, which could previously lead to issues when installing on certain systems.
13+
1014
## [v1.3.0.b0] - 2019-06-23
1115

1216
**NOTE**: this release contains migrations. In your Django project, run them using:

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
#!/usr/bin/env python
2+
# encoding: utf-8
13
"""Package setup."""
24

35
import setuptools
46

5-
with open("README.md", "r") as readme:
7+
with open("README.md", "r", encoding="utf-8") as readme:
68
long_description = readme.read()
79

810

0 commit comments

Comments
 (0)