Skip to content

Commit

Permalink
explicit set encoding etc. for README.rst (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-neotech authored Jul 15, 2020
1 parent 5351673 commit dfc0feb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# limitations under the License.


from os.path import dirname, join as path_join
import os
from setuptools import find_packages, setup

from neo4j.meta import package, version
Expand All @@ -44,7 +44,11 @@
],
}
packages = find_packages(exclude=["tests"])
readme = open(path_join(dirname(__file__), "README.rst")).read()

readme_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "README.rst"))
with open(readme_path, mode="r", encoding="utf-8") as fr:
readme = fr.read()

setup_args = {
"name": package,
"version": version,
Expand Down

0 comments on commit dfc0feb

Please sign in to comment.