[meld] build_helpers: Add Mint to the special case install list (#225)



commit f307fb1506e1783a941f60dfa96c10e98e0aab6c
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Fri Oct 12 07:02:35 2018 +1000

    build_helpers: Add Mint to the special case install list (#225)
    
    Really we shouldn't be installing to `dist-packages` like this, but I
    can't find any guidance on what a Python _application_ is supposed to do
    to integrate nicely with the Debian-style Python layout if it's not
    being packaged.

 meld/build_helpers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meld/build_helpers.py b/meld/build_helpers.py
index d3ef58a8..9c2078e4 100644
--- a/meld/build_helpers.py
+++ b/meld/build_helpers.py
@@ -377,7 +377,7 @@ class build_py(distutils.command.build_py.build_py):
 class install(distutils.command.install.install):
 
     def finalize_options(self):
-        special_cases = ('debian', 'ubuntu')
+        special_cases = ('debian', 'ubuntu', 'linuxmint')
         if (platform.system() == 'Linux' and
                 platform.linux_distribution()[0].lower() in special_cases):
             # Maintain an explicit install-layout, but use deb by default


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]