소스 검색

Add note on use of --pure.

Jelmer Vernooij 10 년 전
부모
커밋
76da44e945
1개의 변경된 파일15개의 추가작업 그리고 0개의 파일을 삭제
  1. 15 0
      README.md

+ 15 - 0
README.md

@@ -11,6 +11,21 @@ Author: Jelmer Vernooij <jelmer@samba.org>
 The project is named after the part of London that Mr. and Mrs. Git live in
 The project is named after the part of London that Mr. and Mrs. Git live in
 in the particular Monty Python sketch.
 in the particular Monty Python sketch.
 
 
+Installation
+------------
+
+By default, Dulwich' setup.py will attempt to build and install the optional C
+extensions. The reason for this is that they significantly improve the performance
+since some low-level operations that are executed often are much slower in CPython.
+
+If you don't want to install the C bindings, specify the --pure argument to setup.py::
+
+    $ python setup.py --pure install
+
+or if you are installing from pip:
+
+    $ pip install dulwich --global-option="--pure"
+
 Further documentation
 Further documentation
 ---------------------
 ---------------------