diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2012-05-18 18:04:11 +0300 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-06-09 12:26:41 +0300 |
commit | f45567c2da6abb4562d42907bf9f614174baa3ff (patch) | |
tree | 5f444815ae1ed47cfa614596c716a9baccfe3a68 /python/rpm/__init__.py.in | |
parent | 987bd509c0686535e6fd80e813b22746e53abfa8 (diff) | |
download | librpm-tizen-f45567c2da6abb4562d42907bf9f614174baa3ff.tar.gz librpm-tizen-f45567c2da6abb4562d42907bf9f614174baa3ff.tar.bz2 librpm-tizen-f45567c2da6abb4562d42907bf9f614174baa3ff.zip |
Make python module name configurable
Diffstat (limited to 'python/rpm/__init__.py.in')
-rw-r--r-- | python/rpm/__init__.py.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/python/rpm/__init__.py.in b/python/rpm/__init__.py.in index d868d19fa..df1e3a282 100644 --- a/python/rpm/__init__.py.in +++ b/python/rpm/__init__.py.in @@ -6,9 +6,9 @@ This module enables you to manipulate rpms and the rpm database. import warnings import os -from rpm._rpm import * -from rpm.transaction import * -import rpm._rpm as _rpm +from @PYTHON_MODULENAME@._rpm import * +from @PYTHON_MODULENAME@.transaction import * +import @PYTHON_MODULENAME@._rpm as _rpm _RPMVSF_NODIGESTS = _rpm._RPMVSF_NODIGESTS _RPMVSF_NOHEADER = _rpm._RPMVSF_NOHEADER _RPMVSF_NOPAYLOAD = _rpm._RPMVSF_NOPAYLOAD @@ -19,13 +19,13 @@ __version_info__ = tuple(__version__.split('.')) # try to import build bits but dont require it try: - from rpm._rpmb import * + from @PYTHON_MODULENAME@._rpmb import * except ImportError: pass # try to import signing bits but dont require it try: - from rpm._rpms import * + from @PYTHON_MODULENAME@._rpms import * except ImportError: pass |