Browse Source

Attempt to fix build on appveyor.

Jelmer Vernooij 7 năm trước cách đây
mục cha
commit
37165f9d26
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  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,