I was just looking through gentoo/setup.py and find something that arouses my
curiosity.
I see
if platform.system() == 'Linux':
x_c_helpers.update({
'portage.util.file_copy.reflink_linux': [
'src/portage_util_file_copy_reflink_linux.c',
],
})
Question that comes up is, what if platform system is something other than
Linux, such as FreeBSD, NetBSD or other.
How would setup.py handle that? Would it attempt to set up portage-style
package manager for FreeBSD, NetBSD or other, would it set up something for
Linux portage, or would it just fail?
Tom