Commit 9c945125 authored by Jérémy Bobbio's avatar Jérémy Bobbio
Browse files

Fix install.run() in setup.py

parent 00713806
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
Description: Fix install.run in setup.py
 Don't call do_egg_install() directly, but rather run the original
 run() method (which supports prefixed installations).
Author: Jérémy Bobbio <lunar@debian.org>

Index: git/setup.py
===================================================================
--- git.orig/setup.py
+++ git/setup.py
@@ -79,9 +79,9 @@ class install(_st_install):
     def run(self):
         prefix = os.path.abspath(self.prefix)
         self.set_data_files(prefix)
-        self.do_egg_install()
         # Debian: skip updating resources when building the package
         #self.ooniresources()
+        return _st_install.run(self)
 
 install_requires = []
 dependency_links = []
+1 −0
Original line number Diff line number Diff line
@@ -3,3 +3,4 @@
0004-Exclude-manpage-from-data_files.patch
0005-Remove-uneeded-dependency-from-requirements.txt.patch
0006-Remove-tests-requiring-non-free-GeoIP-database.patch
0009-Fix-install-run.patch