| Server IP : 82.208.35.60 / Your IP : 216.73.216.236 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/sysutils/solaar/files/ |
Upload File : |
--- setup.py.orig 2019-01-30 15:58:00 UTC
+++ setup.py
@@ -6,14 +6,9 @@ from distutils.core import setup
autostart_path = '/etc/xdg/autostart'
import sys
-backup_path_0 = sys.path[0]
-sys.path[0] = backup_path_0 + '/lib'
-#from solaar import NAME, __version__
__version__ = '0.9.2'
NAME = 'Solaar'
-sys.path[0] = backup_path_0
-
if 'install' in sys.argv:
# naively guess where the autostart .desktop file should be installed
if '--prefix' in sys.argv or any(x.startswith('--prefix=') for x in sys.argv) or '--home' in sys.argv:
@@ -25,7 +20,7 @@ if 'install' in sys.argv:
autostart_path = path.join(xdg_config_home, 'autostart')
del environ, path, xdg_config_home
-del sys, backup_path_0
+del sys
def _data_files():
@@ -39,7 +34,6 @@ def _data_files():
yield _dirname(mo), [mo]
yield 'share/applications', ['share/applications/solaar.desktop']
- yield autostart_path, ['share/applications/solaar.desktop']
del _dirname