Skip to content

Commit

Permalink
Update docs regarding building dulwich without c bindings
Browse files Browse the repository at this point in the history
See: jelmer#1093.

Currently, both --global-option=--pure and --build-option=--pure
work (when set in --config-settings).  However, using --global-option
in this way is considered deprecated:

https://setuptools.pypa.io/en/latest/history.html#id139

pypa/setuptools#3380

--no-binary is needed to prevent pip installing the pre-built wheels
from pypi.org.
  • Loading branch information
aplaice committed May 23, 2023
1 parent 06337ba commit eff089b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::

$ 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::

dulwich --global-option=--pure
dulwich --config-settings "--build-option=--pure"

Getting started
---------------
Expand Down

0 comments on commit eff089b

Please sign in to comment.