浏览代码

Attempt to fix build on appveyor.

Jelmer Vernooij 7 年之前
父节点
当前提交
37165f9d26
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      setup.py

+ 6 - 1
setup.py

@@ -67,13 +67,18 @@ ext_modules = [
 ]
 
 
+if sys.platform == 'win32':
+    # Win32 setup breaks with non-ascii characters.
+    author = "Jelmer Vernooij"
+else:
+    author = "Jelmer Vernooij"
+
 setup(name='dulwich',
       description='Python Git Library',
       keywords='git',
       version=dulwich_version_string,
       url='https://www.dulwich.io/',
       license='Apachev2 or later or GPLv2',
-      author='Jelmer Vernooij',
       author_email='jelmer@jelmer.uk',
       long_description="""
       Python implementation of the Git file formats and protocols,