Python Generate Requirements.txt From Code