Skip to content

Commit 2c49f13

Browse files
Update README.rst
1 parent db275fe commit 2c49f13

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ If paths to header file ``zstd.h`` and libraries is uncommon - use common ``buil
256256

257257
>>> $ python setup.py build_ext --external --include-dirs /opt/zstd/usr/include --libraries zstd --library-dirs /opt/zstd/lib clean
258258

259-
But If you want to build with bundled distribution of libzstd just add ``--
259+
But If you want to force build with bundled distribution of libzstd just add ``--
260260
libzstd-bundled`` option
261261

262262
>>> $ python setup.py build_ext --libzstd-bundled clean
@@ -265,6 +265,15 @@ When using a PEP 517 builder you can use ``ZSTD_BUNDLED`` environment variable i
265265

266266
>>> $ ZSTD_BUNDLED=1 python -m build -w
267267

268+
If you want to check if build w/o any warnings just add ``--
269+
all-warnings`` option
270+
271+
>>> $ python setup.py build_ext --all-warnings clean
272+
273+
When using a PEP 517 builder you can use ``ZSTD_WARNINGS`` environment variable instead:
274+
275+
>>> $ ZSTD_WARNINGS=1 python -m build -w
276+
268277
Install from pypi
269278
-----------------
270279

0 commit comments

Comments
 (0)