python fix for dist-packages

Gbp-Pq: Name 0010-python-fix-for-dist-packages.patch
This commit is contained in:
Jim Popovitch 2019-07-13 17:00:35 +00:00 committed by Lu zhiping
parent 04786932b6
commit e2cd5cdbf6
3 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ if os.name != 'nt':
sys.path.insert(1, '@PYTHON_INSTALL_DIR@')
else:
sys.path.insert(1, os.path.join('@prefix@', 'lib',
'python' + sys.version[:3], 'site-packages'))
'python' + sys.version[:3], 'dist-packages'))
import isc.checkds

View File

@ -19,7 +19,7 @@ if os.name != 'nt':
sys.path.insert(1, '@PYTHON_INSTALL_DIR@')
else:
sys.path.insert(1, os.path.join('@prefix@', 'lib',
'python' + sys.version[:3], 'site-packages'))
'python' + sys.version[:3], 'dist-packages'))
import isc.coverage

View File

@ -19,7 +19,7 @@ if os.name != 'nt':
sys.path.insert(1, '@PYTHON_INSTALL_DIR@')
else:
sys.path.insert(1, os.path.join('@prefix@', 'lib',
'python' + sys.version[:3], 'site-packages'))
'python' + sys.version[:3], 'dist-packages'))
import isc.keymgr