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>
Thu, 6 Jan 2022 09:16:00 +0000 (09:16 +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 6ea10bf2d5b3b902fe8564385e43276c298e6953..b08bf9436a492f1bd531e9bff27ab8d02cc40425 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1279,7 +1279,6 @@ cmdclass = {
     'build_hgextindex': buildhgextindex,
     'install': hginstall,
     'install_lib': hginstalllib,
-    'install_scripts': hginstallscripts,
     'build_hgexe': buildhgexe,
 }