你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-03 19:26:50 +08:00
Added explicit encoding when parsing README.rst
这个提交包含在:
5
setup.py
5
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',
|
||||
|
在新工单中引用
屏蔽一个用户