We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34b53df commit 22c86f0Copy full SHA for 22c86f0
CHANGELOG.rst
@@ -1,3 +1,10 @@
1
+0.2.3 (2020-07-31)
2
+------------------
3
+
4
+*Fixed:*
5
6
+ - Fixed ``long_description`` for PyPI.
7
8
0.2.2 (2020-07-31)
9
------------------
10
setup.py
@@ -2,8 +2,14 @@
from setuptools import setup, find_packages
this_directory = path.abspath(path.dirname(__file__))
-with open(path.join(this_directory, 'README.rst'), encoding='utf-8') as f:
- long_description = f.read()
+try:
+ with open(path.join(this_directory, 'README.rst'), encoding='utf-8') as f:
+ long_description = f.read()
+except TypeError:
+ import io
11
+ with io.open(path.join(this_directory, 'README.rst'), encoding='utf-8') as f:
12
13
14
setup(
15
name='django-rest-assured',
0 commit comments