Ideally we would get the whole path to '...etc' from Python, rather than special-casing on the platform.
But I don't actually see anything that points to /etc in sysconfig.get_config_vars() so we might need to either find some other module that tells us where it is, or just hardcode it, in which case I suppose your patch is the best thing.
Thanks for this, Thomi.
+ elif sys.platform. startswith( 'freebsd' ): pathjoin( sysconfig. PREFIX, 'etc', 'bazaar') pathjoin( '/etc', "bazaar")
+ return osutils.
+ else:
+ return osutils.
Ideally we would get the whole path to '...etc' from Python, rather than special-casing on the platform.
But I don't actually see anything that points to /etc in sysconfig. get_config_ vars() so we might need to either find some other module that tells us where it is, or just hardcode it, in which case I suppose your patch is the best thing.
The docstring also needs to be updated.