From 17d0a74402105c36cd30c4f86a930984878b7c7d Mon Sep 17 00:00:00 2001 From: Craig Warren Date: Tue, 19 Mar 2024 11:29:43 +0000 Subject: [PATCH] Added explicit encoding when parsing README.rst --- setup.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 9b7f44cc..2adb51e5 100644 --- a/setup.py +++ b/setup.py @@ -48,7 +48,7 @@ with open('gprMax/__init__.py', 'r') as fd: packages = [packagename, 'tests', 'tools', 'user_libs'] # Parse long_description from README.rst file. -with open('README.rst','r') as fd: +with open('README.rst', 'r', encoding='utf-8') as fd: long_description = fd.read() # Python version @@ -181,9 +181,6 @@ if USE_CYTHON: }, annotate=False) -# SetupTools Required to make package -import setuptools - setup(name=packagename, version=version, author='Craig Warren and Antonis Giannopoulos',