--- setup.py.orig 2023-11-08 03:05:24 UTC +++ setup.py @@ -91,7 +91,7 @@ def get_data_files(): """ Return data_files in a platform dependent manner. """ - if sys.platform.startswith('linux'): + if sys.platform.startswith('linux') or sys.platform.startswith('freebsd'): data_files = [('share/applications', ['scripts/spyder.desktop']), ('share/icons', ['img_src/spyder.png']), ('share/metainfo', @@ -199,7 +199,6 @@ setup_args = dict( 'Topic :: Scientific/Engineering', 'Topic :: Software Development :: Widget Sets', ], - cmdclass=CMDCLASS, )