make __qmark__ work better with magic
add py2package helper