blob: 38d3356b0b3d44cdc27de86018a510761f2308ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
diff --git a/setup.py b/setup.py
index 0c47210..20b95c0 100644
--- a/setup.py
+++ b/setup.py
@@ -97,21 +97,6 @@ def get_packages():
return packages
-#==============================================================================
-# Make Linux detect Spyder desktop file
-#==============================================================================
-class MyInstallData(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': MyInstallData}
-
-
#==============================================================================
# Main scripts
#==============================================================================
@@ -177,8 +162,7 @@ def run(self):
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering',
'Topic :: Software Development :: Widget Sets'
- ],
- cmdclass=CMDCLASS)
+ ])
#==============================================================================
|