The shebangs make it possible to run the any of the scripts (e.g.,
during testing / development) without necessarily installing ZODB into a
Python environment.
I do find the '/usr/bin/environ' bit a pretty useless bit of
indirection, particularly when tied to versions of Python which are no
longer even supported by ZODB.
Note that only the following scripts are installed via the 'console_scripts'
entry point mechanism:
fsdump = ZODB.FileStorag e.fsdump: main fsoids: main fsrefs: main fstail: Main repozo: main zeopack: main
fsoids = ZODB.scripts.
fsrefs = ZODB.scripts.
fstail = ZODB.scripts.
repozo = ZODB.scripts.
zeopack = ZEO.scripts.
runzeo = ZEO.runzeo:main
zeopasswd = ZEO.zeopasswd:main
zeoctl = ZEO.zeoctl:main
The shebangs make it possible to run the any of the scripts (e.g.,
during testing / development) without necessarily installing ZODB into a
Python environment.
I do find the '/usr/bin/environ' bit a pretty useless bit of
indirection, particularly when tied to versions of Python which are no
longer even supported by ZODB.