diff --git a/Makefile b/Makefile index 5c7e515..37d0a7a 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,9 @@ GOGET=$(GOCMD) get DIRS=`go list ./...` +PYTHON=python3 +PIP=$(PYTHON) -m pip + all: build build: @@ -46,6 +49,16 @@ gopath-update: export GO111MODULE = off gopath-update: @echo "GO111MODULE = $(value GO111MODULE)" go get -u ./... + +prereq: + @echo "Installing python prerequisites -- ignore err if already installed:" + - $(PIP) install -r requirements.txt + @echo + @echo "if this fails, you may see errors like this:" + @echo " Undefined symbols for architecture x86_64:" + @echo " _PyInit__gi, referenced from:..." + @echo + # NOTE: MUST update version number here prior to running 'make release' and edit this file! VERS=v0.4.7 diff --git a/go.sum b/go.sum index 3eeab17..7202b7e 100644 --- a/go.sum +++ b/go.sum @@ -4,9 +4,12 @@ github.com/gonuts/flag v0.1.0 h1:fqMv/MZ+oNGu0i9gp0/IQ/ZaPIDoAZBOBaJoV7viCWM= github.com/gonuts/flag v0.1.0/go.mod h1:ZTmTGtrSPejTo/SRNhCqwLTmiAgyBdCkLYhHrAoBdz4= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= golang.org/x/mod v0.9.0 h1:KENHtAZL2y3NLMYZeHY9DW8HW8V+kQyJsY/V9JlKvCs= golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= +golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/tools v0.7.0 h1:W4OVu8VVOaIO0yzWMNdepAulS7YfoS3Zabrm8DOXXU4=