mirror of https://github.com/go-python/gopy.git
add a requirements.txt file and prereq make target, confirm test of latest PRs
This commit is contained in:
parent
5597cfd453
commit
8a6b0047d9
13
Makefile
13
Makefile
|
@ -8,6 +8,9 @@ GOGET=$(GOCMD) get
|
|||
|
||||
DIRS=`go list ./...`
|
||||
|
||||
PYTHON=python3
|
||||
PIP=$(PYTHON) -m pip
|
||||
|
||||
all: build
|
||||
|
||||
build:
|
||||
|
@ -47,6 +50,16 @@ 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
|
||||
PACKAGE=main
|
||||
|
|
3
go.sum
3
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=
|
||||
|
|
Loading…
Reference in New Issue