Disabled hginstallscripts @LIBDIR@ replacement in setup.py.
authorStefano Rivera <stefanor@debian.org>
Sun, 16 Aug 2020 09:03:07 +0000 (11:03 +0200)
committerJulien Cristau <jcristau@debian.org>
Mon, 20 Feb 2023 17:44:46 +0000 (17:44 +0000)
Bug-Debian: http://bugs.debian.org/620087
Bug-Ubuntu: https://bugs.launchpad.net/bugs/745250
Forwarded: not-needed

setup.py replaces @LIBDIR@ in the hg script, with a path that differs between
Python versions.
libdir in hg doesn't need to be set if mercurial is available in the public
namespace, as it is in Debian.
hg doesn't alter sys.paths if this replacement hasn't happened.

Gbp-Pq: Name deb_specific__disable_libdir_replacement.patch

setup.py

index 59584041ba4dfcd98bc06e3c05586e9e36733e53..66f615b2777929ef58e4408c5a8451152af68278 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1277,7 +1277,6 @@ cmdclass = {
     'install': hginstall,
     'install_completion': hginstallcompletion,
     'install_lib': hginstalllib,
-    'install_scripts': hginstallscripts,
     'build_hgexe': buildhgexe,
 }