Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ AC_ARG_ENABLE([scec-cvm-h],
[],
[enable_scec_cvm_h=no])

dnl pip install with build isolation
AC_ARG_WITH([build-isolation],
[AC_HELP_STRING([--with-build-isolation],
[run pip with build-isolation @<:@default=yes@:>@])],
[build_isolation=$withval],
[build_isolation="yes"])
AM_CONDITIONAL([PIP_BUILD_ISOLATION], [test "$build_isolation" = yes])

dnl ----------------------------------------------------------------------
AC_PROG_CXX
AC_PROG_CC
Expand Down
7 changes: 5 additions & 2 deletions spatialdata/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@
# See https://mit-license.org/ and LICENSE.md and for license information.
# =================================================================================================

if PIP_BUILD_ISOLATION
else
PIP_ISOLATION_FLAG=--no-build-isolation
endif
install-exec-local:
echo $(top_srcdir)
$(PYTHON) -m pip install --no-build-isolation --prefix=$(prefix) $(top_srcdir)
$(PYTHON) -m pip install --prefix=$(prefix) $(PIP_ISOLATION_FLAG) $(top_srcdir)

EXTRA_DIST = \
__init__.py \
Expand Down
Loading