fixed pure python patch implementation

also made another dev test script.
initial support for making client package on dev machine

if they use the binary instead of pypi