summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2008-06-22 02:22:45 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2008-07-15 12:28:51 +0200
commit2f8db2edbe31e18e35733c474e845c5569d9194f (patch)
tree88e8c80178a531e91f08333b5eedfe18a7769df7
parent578d1f8cfe2b04063ac215283b6bc39e1a292cd3 (diff)
downloadnbb-2f8db2edbe31e18e35733c474e845c5569d9194f.tar.gz
nbb-2f8db2edbe31e18e35733c474e845c5569d9194f.tar.xz
nbb-2f8db2edbe31e18e35733c474e845c5569d9194f.zip
Rename python module from nbb_lib to nbblib
-rw-r--r--NEWS1
-rw-r--r--configure.ac2
-rw-r--r--nbb/Makefile-files8
-rw-r--r--nbb/nbb.in8
-rw-r--r--nbb/nbblib.in (renamed from nbb/nbb_lib.in)0
5 files changed, 10 insertions, 9 deletions
diff --git a/NEWS b/NEWS
index 22db0ed..9de7bc4 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
nbb 1.20.x
* Implement 'nbb help <command>'.
+ * Rename python module from nbb_lib to nbblib.
nbb 1.20
* Initial standalone version of nbb.
diff --git a/configure.ac b/configure.ac
index d3d3003..8797933 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,7 +32,7 @@ NDIM_DETECT_MAN2TXT()dnl
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([GNUmakefile])
-AC_CONFIG_FILES([nbb/nbb_lib.py:nbb/nbb_lib.in])
+AC_CONFIG_FILES([nbb/nbblib.py:nbb/nbblib.in])
AC_CONFIG_FILES([nbb/nbb:nbb/nbb.in], [chmod +x nbb/nbb])
AC_CONFIG_FILES([test/atlocal])
AC_CONFIG_FILES([test/Makefile])
diff --git a/nbb/Makefile-files b/nbb/Makefile-files
index e8b51cb..1c00a4b 100644
--- a/nbb/Makefile-files
+++ b/nbb/Makefile-files
@@ -6,15 +6,15 @@ bin_SCRIPTS += nbb/nbb
EXTRA_DIST += nbb/nbb.in
CLEANFILES += nbb/nbb
-nodist_python_PYTHON += nbb/nbb_lib.py
-CLEANFILES += nbb/nbb_lib.py
+nodist_python_PYTHON += nbb/nbblib.py
+CLEANFILES += nbb/nbblib.py
-nbb/nbb: nbb/nbb_lib.py
+nbb/nbb: nbb/nbblib.py
#nbb/nbb_lib.py: $(top_builddir)/config.status
#nbb/nbb: $(top_builddir)/config.status
endif
-CLEANFILES += nbb/nbb_lib.pyc
+CLEANFILES += nbb/nbblib.pyc
# End of Makefile-files.
diff --git a/nbb/nbb.in b/nbb/nbb.in
index ca6951d..35d733e 100644
--- a/nbb/nbb.in
+++ b/nbb/nbb.in
@@ -19,19 +19,19 @@ if __name__ == '__main__':
if cond:
sys.path = path
try:
- import nbb_lib
+ import nbblib
lib_found = True
break
except ImportError, e:
pass
if not lib_found:
- sys.stderr.write("nbb: Fatal: Could not load nbb_lib.\n")
+ sys.stderr.write("nbb: Fatal: Could not load nbblib.\n")
sys.exit(3)
#sys.stdout.write("sys.path=%s\n" % repr(sys.path))
#sys.stdout.flush()
PACKAGE_VERSION = "@PACKAGE_VERSION@"
- assert(nbb_lib.PACKAGE_VERSION == PACKAGE_VERSION)
- nbb_lib.main(sys.argv)
+ assert(nbblib.PACKAGE_VERSION == PACKAGE_VERSION)
+ nbblib.main(sys.argv)
# vim: syntax=python
# Local Variables:
diff --git a/nbb/nbb_lib.in b/nbb/nbblib.in
index b7dc03a..b7dc03a 100644
--- a/nbb/nbb_lib.in
+++ b/nbb/nbblib.in