I have a script that imports these modules: urllib, urllib2, cookielib, BaseHTTPServer, sys, tempfile, paramiko, logging, re, OptionParser, lxml.
You probably want to create a Python package from your script. In the end, you can configure pip mypackage on any host and all required modules will be downloaded and installed automatically.
- suppose i have a script like python package
- copied it to another host
- start pip install mypackage
As I understand it, it will look for modules that should be imported and will download and install dependencies.
This is not a good solution in my case. Users of other hosts (~ 20) should be able to run the script without additional download / installation procedures.
Hope cx_freeze is what I need. Thank you for your responses.
Andriy
source share