Index: setup.py
--- setup.py.orig
+++ setup.py
@@ -27,7 +27,7 @@ import subprocess
 import sys
 import shutil
 
-from distutils.core import setup
+from setuptools import setup
 from distutils.command.install_data import install_data
 
 
@@ -82,7 +82,7 @@ def get_subpackages(name):
 
 def get_data_files():
     """Return data_files in a platform dependent manner"""
-    if sys.platform.startswith('linux'):
+    if sys.platform.startswith(('linux', 'openbsd')):
         if PY3:
             data_files = [('share/applications', ['scripts/spyder3.desktop']),
                           ('share/icons', ['img_src/spyder3.png']),
@@ -132,7 +132,7 @@ CMDCLASS = {'install_data': MyInstallData}
 # NOTE: the '[...]_win_post_install.py' script is installed even on non-Windows
 # platforms due to a bug in pip installation process (see Issue 1158)
 SCRIPTS = ['%s_win_post_install.py' % NAME]
-if PY3 and sys.platform.startswith('linux'):
+if PY3 and sys.platform.startswith(('linux', 'openbsd')):
     SCRIPTS.append('spyder3')
 else:
     SCRIPTS.append('spyder')
@@ -244,7 +244,7 @@ install_requires = [
     'keyring;sys_platform!="linux2"',
     # Packages for pyqt5 are only available in
     # Python 3
-    'pyqt5<=5.12;python_version>="3"'
+    #'pyqt5<=5.12;python_version>="3"'
 ]
 
 extras_require = {
