projects
/
services
/
createrepo_c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79d00d5
)
Nosetest: Adding library path for _createrepo_cmodule.so.
author
hyokeun
<hyokeun.jeon@samsung.com>
Mon, 9 Nov 2015 07:53:53 +0000
(16:53 +0900)
committer
SoonKyu Park
<sk7.park@samsung.com>
Sat, 25 Mar 2017 02:01:23 +0000
(11:01 +0900)
Change-Id: I4b0e793882dd394979353baeef35e910866ca039
Conflicts:
src/python/__init__.py
src/python/__init__.py
patch
|
blob
|
history
diff --git
a/src/python/__init__.py
b/src/python/__init__.py
index 6c29e74757d62d03225446fb8b52773c045e4c61..397ee319f581af549d89a5e3b6e6e9f0d26a2eda 100644
(file)
--- a/
src/python/__init__.py
+++ b/
src/python/__init__.py
@@
-1,8
+1,11
@@
"""
"""
-from . import _createrepo_c
-from ._createrepo_c import *
+import sys, os, site
+sys.path.append(os.path.join(site.getsitepackages()[0], 'createrepo_c/'))
+
+import _createrepo_c
+from _createrepo_c import *
VERSION_MAJOR = _createrepo_c.VERSION_MAJOR #: Major version
VERSION_MINOR = _createrepo_c.VERSION_MINOR #: Minor version