瀏覽代碼

Merge pull request #1180 from aplaice/docs-no-c

Update docs regarding building dulwich without c bindings
Jelmer Vernooij 1 年之前
父節點
當前提交
38bd642c80
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      README.rst

+ 4 - 4
README.rst

@@ -26,13 +26,13 @@ If you don't want to install the C bindings, specify the --pure argument to setu
 
 
 or if you are installing from pip::
 or if you are installing from pip::
 
 
-    $ pip install dulwich --global-option="--pure"
+    $ pip install --no-binary dulwich dulwich --config-settings "--build-option=--pure"
 
 
-Note that you can also specify --global-option in a
-`requirements.txt <https://pip.pypa.io/en/stable/reference/pip_install/#requirement-specifiers>`_
+Note that you can also specify --build-option in a
+`requirements.txt <https://pip.pypa.io/en/stable/reference/requirement-specifiers/>`_
 file, e.g. like this::
 file, e.g. like this::
 
 
-    dulwich --global-option=--pure
+    dulwich --config-settings "--build-option=--pure"
 
 
 Getting started
 Getting started
 ---------------
 ---------------