소스 검색

more debug

Antoine Beaupré 9 년 전
부모
커밋
d68451574b
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      setup.py

+ 3 - 0
setup.py

@@ -140,6 +140,9 @@ class build_usage(Command):
         # allows us to build docs without the C modules fully loaded during help generation
         if 'BORG_CYTHON_DISABLE' not in os.environ:
             os.environ['BORG_CYTHON_DISABLE'] = self.__class__.__name__
+        from borg.helpers import have_cython
+        print('have_cython? %s' % have_cython())
+        print("CYTHON ENV: %s" % os.environ.get('BORG_CYTHON_DISABLE'))
         from borg.archiver import Archiver
         parser = Archiver().build_parser(prog='borg')
         choices = {}