linux - Packaging python code for distribution on machines without pip -
here's situation:
i have developed python code, , have pip available on machine. pull in libraries make program behave better, advanced things, have colored output, etc...
now need ship code boxes do not have pip , will not ever have pip.
in node, trivial achieve this. can deploy node_modules folder , npm install step isn't needed.
what's best practice python? version working python 2.6.8, , need care distributing linux machines.
i've read it's possible freeze entire project (including python interpreter) , ship binary. avoid if possible, seems wasteful in environment python available on of systems.
thanks advice.
Comments
Post a Comment