Browse Source
Add COINCURVE_CHECK_SYSTEM_LIB to disable checking for system libsecp256 by default.
anonswap
tecnovert
2 years ago
No known key found for this signature in database
GPG Key ID: 6C1A887B4701EAE3
2 changed files with
3 additions and
0 deletions
-
docs/install.md
-
setup_support.py
|
|
@ -28,6 +28,7 @@ A few environment variables influence the build: |
|
|
|
|
|
|
|
- `COINCURVE_UPSTREAM_REF` - This is the Git reference of [libsecp256k1][] to use rather than the (frequently updated) default. |
|
|
|
- `COINCURVE_IGNORE_SYSTEM_LIB` - The presence of this will force fetching of [libsecp256k1][] even if it's already detected at the system level. |
|
|
|
- `COINCURVE_CHECK_SYSTEM_LIB` - Must be set to detect [libsecp256k1][] at the system level. |
|
|
|
|
|
|
|
!!! tip |
|
|
|
To avoid installing the binary wheels on compatible distributions, use the `--no-binary` option. |
|
|
|
|
|
@ -60,6 +60,8 @@ def build_flags(library, type_, path): |
|
|
|
|
|
|
|
|
|
|
|
def _find_lib(): |
|
|
|
if 'COINCURVE_CHECK_SYSTEM_LIB' not in os.environ: |
|
|
|
return False |
|
|
|
if 'COINCURVE_IGNORE_SYSTEM_LIB' in os.environ: |
|
|
|
return False |
|
|
|
|
|
|
|