Distribution specific patch, not going upstream This workaround for Gentoo interferes with our use of --no-compile during the 'install stage. diff --git a/setup.py b/setup.py index e254bf99c..90db55c3f 100755 --- a/setup.py +++ b/setup.py @@ -663,8 +663,6 @@ if modules_ENABLED: # Utility methods for building with Cython def add_cython_ext(*args, **kwargs): - if "--no-compile" in sys.argv and not ("build" in sys.argv and "install" in sys.argv): - return if not cython_ENABLED: raise ValueError(f"cannot build {args}: cython compilation is disabled") if cython_tracing_ENABLED: @@ -1809,9 +1807,6 @@ else: if root_prefix.endswith("/usr"): #ie: "/" or "/usr/src/rpmbuild/BUILDROOT/xpra-0.18.0-0.20160513r12573.fc23.x86_64/" root_prefix = root_prefix[:-4] - for x in sys.argv: - if x.startswith("--root="): - root_prefix = x[len("--root="):] print(f"install_data_override.run() root_
aboutsummaryrefslogtreecommitdiff |