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



commit 356f3ac4aa3a9a2a0d08311972dc92c7e721cfac
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 8c5036d6..8fd4a9a7 100644
--- a/meld/build_helpers.py
+++ b/meld/build_helpers.py
@@ -373,7 +373,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]