Bläddra i källkod

Only include custom stdint.h on python < 3.6.

Jelmer Vernooij 8 år sedan
förälder
incheckning
8cbf812ad4
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      setup.py

+ 2 - 1
setup.py

@@ -15,7 +15,8 @@ dulwich_version_string = '0.17.4'
 
 include_dirs = []
 # Windows MSVC support
-if sys.platform == 'win32':
+if sys.platform == 'win32' and sys.version_info[:2] < (3, 6):
+    # Include dulwich/ for fallback stdint.h
     include_dirs.append('dulwich')