[Framework] Add option to make a release-like archive, whithout truly releasing.

Fix also an issue with python path variable.