diff options
| author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2008-06-22 02:22:45 +0200 |
|---|---|---|
| committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2008-07-15 12:28:51 +0200 |
| commit | 2f8db2edbe31e18e35733c474e845c5569d9194f (patch) | |
| tree | 88e8c80178a531e91f08333b5eedfe18a7769df7 | |
| parent | 578d1f8cfe2b04063ac215283b6bc39e1a292cd3 (diff) | |
| download | nbb-2f8db2edbe31e18e35733c474e845c5569d9194f.tar.gz nbb-2f8db2edbe31e18e35733c474e845c5569d9194f.tar.xz nbb-2f8db2edbe31e18e35733c474e845c5569d9194f.zip | |
Rename python module from nbb_lib to nbblib
| -rw-r--r-- | NEWS | 1 | ||||
| -rw-r--r-- | configure.ac | 2 | ||||
| -rw-r--r-- | nbb/Makefile-files | 8 | ||||
| -rw-r--r-- | nbb/nbb.in | 8 | ||||
| -rw-r--r-- | nbb/nbblib.in (renamed from nbb/nbb_lib.in) | 0 |
5 files changed, 10 insertions, 9 deletions
@@ -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. @@ -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 |
