2 from __future__ import absolute_import
6 # Eventually, if we physically move the source tree cmd/ to lib/, then
7 # we could use realpath here and save some stats...
9 _libdir = os.path.abspath(os.path.dirname(__file__.encode('iso-8859-1')) + b'/..')
11 _exedir = os.path.abspath(_libdir + b'/cmd')
12 _exe = os.path.join(_exedir, b'bup')
26 def resource_path(subdir=b''):
27 return os.path.join(_resdir, subdir)