We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf9d4f0 commit 4805fc8Copy full SHA for 4805fc8
2 files changed
README.rst
@@ -245,6 +245,9 @@ Executing the tests:
245
Changelog
246
=========
247
248
+0.6.2
249
+----
250
+- Handle unicode exception in setup.py (`#46 <https://github.com/theskumar/python-dotenv/issues/45>`__)
251
0.6.2
252
----
253
- Fix `dotenv list` command (`@ticosax`_)
setup.py
@@ -1,8 +1,12 @@
1
# -*- coding: utf-8 -*-
2
from setuptools import setup
3
4
-with open('README.rst') as readme_file:
5
- readme = readme_file.read()
+# https://github.com/theskumar/python-dotenv/issues/45#issuecomment-277135416
+try:
6
+ with open('README.rst') as readme_file:
7
+ readme = readme_file.read()
8
+except:
9
+ readme = 'Checkout http://github.com/theskumar/python-dotenv for more details.'
10
11
setup(
12
name="python-dotenv",
0 commit comments