]> granicus.if.org Git - liblinear/commitdiff
appending to sys.path has no effect in all our use cases but causes problems in certa...
authorSinacam <stinkingmadgod@gmail.com>
Tue, 5 Apr 2022 12:58:42 +0000 (20:58 +0800)
committerSinacam <stinkingmadgod@gmail.com>
Tue, 5 Apr 2022 12:58:42 +0000 (20:58 +0800)
python/liblinear/liblinearutil.py

index d5e99f7ff5dc7cfa758c1e98a1d06b91abd3d6d8..6d201aed7d4ad950258af0c0955296cc6a56a99a 100644 (file)
@@ -1,7 +1,6 @@
 #!/usr/bin/env python
 
 import os, sys
-sys.path = [os.path.dirname(os.path.abspath(__file__))] + sys.path
 from .liblinear import *
 from .liblinear import __all__ as liblinear_all
 from .liblinear import scipy, sparse