Everything happens automagically with overridden "sdist" from sdist_upip.py.
Needs more details.
A long overdue overview of preparing packages, installing them with upip, freezing, dealing with resources. Initial version, more iterations required.