소스 검색

Only include custom stdint.h on python < 3.6.

Jelmer Vernooij 8 년 전
부모
커밋
8cbf812ad4
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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')