mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-04-30 16:57:29 -07:00
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
diff --git a/setup.py b/setup.py
|
|
index ff4f8ec..08a4f2d 100644
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -111,24 +111,6 @@ def get_packages():
|
|
return packages
|
|
|
|
|
|
-# =============================================================================
|
|
-# Make Linux detect Spyder desktop file (will not work with wheels)
|
|
-# =============================================================================
|
|
-class CustomInstallData(install_data):
|
|
-
|
|
- def run(self):
|
|
- install_data.run(self)
|
|
- if sys.platform.startswith('linux'):
|
|
- try:
|
|
- subprocess.call(['update-desktop-database'])
|
|
- except:
|
|
- print("ERROR: unable to update desktop database",
|
|
- file=sys.stderr)
|
|
-
|
|
-
|
|
-CMDCLASS = {'install_data': CustomInstallData}
|
|
-
|
|
-
|
|
# =============================================================================
|
|
# Main scripts
|
|
# =============================================================================
|
|
@@ -196,7 +178,6 @@ def run(self):
|
|
'Topic :: Scientific/Engineering',
|
|
'Topic :: Software Development :: Widget Sets',
|
|
],
|
|
- cmdclass=CMDCLASS,
|
|
)
|
|
|
|
|