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>
Tue, 12 Dec 2023 12:28:02 +0000 (13:28 +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 a3b79bac4708566af5b5ef2fd6e23dc34fc9bc35..0d93011ae461ec3fa620a932d1b2dd6de7939fbd 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1300,7 +1300,6 @@ cmdclass = {
     'install': hginstall,
     'install_completion': hginstallcompletion,
     'install_lib': hginstalllib,
-    'install_scripts': hginstallscripts,
     'build_hgexe': buildhgexe,
 }