Disabled hginstallscripts @LIBDIR@ replacement in setup.py.
authorStefano Rivera <stefanor@debian.org>
Thu, 25 Jun 2020 10:18:13 +0000 (11:18 +0100)
committerJulien Cristau <jcristau@debian.org>
Thu, 25 Jun 2020 10:18:13 +0000 (11:18 +0100)
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 0df173fa1b9e0366126472bb7540b31d04191abb..ce037e607a4f2ba30efefa58dc0c38862fd8cbd0 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1214,7 +1214,6 @@ cmdclass = {
     'build_hgextindex': buildhgextindex,
     'install': hginstall,
     'install_lib': hginstalllib,
-    'install_scripts': hginstallscripts,
     'build_hgexe': buildhgexe,
 }