浏览代码

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 = {}