mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-11 18:58:59 +03:00
make setup.py more normal, except in our exceptional case (#13214)
This commit is contained in:
parent
a9cce0f6e0
commit
ed78e9ffbf
@ -44,7 +44,7 @@ fi
|
||||
|
||||
export BUILD_VDF_BENCH=Y # Installs the useful vdf_bench test of CPU squaring speed
|
||||
THE_PATH=$(python -c 'import pkg_resources; print( pkg_resources.get_distribution("chiavdf").location)' 2>/dev/null)/vdf_client
|
||||
CHIAVDF_VERSION=$(python -c 'from setup import dependencies; t = [_ for _ in dependencies if _.startswith("chiavdf")][0]; print(t)')
|
||||
CHIAVDF_VERSION=$(python -c 'import os; os.environ["CHIA_SKIP_SETUP"] = "1"; from setup import dependencies; t = [_ for _ in dependencies if _.startswith("chiavdf")][0]; print(t)')
|
||||
|
||||
ubuntu_cmake_install() {
|
||||
UBUNTU_PRE_2004=$(python -c 'import subprocess; process = subprocess.run(["lsb_release", "-rs"], stdout=subprocess.PIPE); print(float(process.stdout) < float(20.04))')
|
||||
|
Loading…
Reference in New Issue
Block a user