Explorar o código

Attempt to fix build on appveyor.

Jelmer Vernooij %!s(int64=7) %!d(string=hai) anos
pai
achega
37165f9d26
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  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,