File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,3 +8,5 @@ global-exclude *.egg-info/*
88global-exclude *__pycache__*
99
1010recursive-exclude grumpy-tools-src *.go
11+
12+ include pyproject.toml
Original file line number Diff line number Diff line change @@ -50,8 +50,12 @@ PY_DIR := build/lib/python2.7/site-packages
5050PY_INSTALL_DIR := $(shell $(PYTHON ) -c "from distutils.sysconfig import get_python_lib; print(get_python_lib() )")
5151
5252export GOPATH := $(ROOT_DIR ) /build
53- export PYTHONPATH := $(ROOT_DIR ) /$(PY_DIR )
5453export PATH := $(ROOT_DIR ) /build/bin:$(PATH )
54+ ifndef PYTHONPATH
55+ export PYTHONPATH := $(ROOT_DIR ) /$(PY_DIR )
56+ else
57+ export PYTHONPATH := $(PYTHONPATH ) :$(ROOT_DIR ) /$(PY_DIR )
58+ endif
5559
5660GOPATH_PY_ROOT := $(GOPATH ) /src/__python__
5761
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [" setuptools" , " wheel" , " grumpy-tools>0.2.2" ]
You can’t perform that action at this time.
0 commit comments