hi,i'am a sa&dba,for do remote task i find fabric+py,this very good for me。 and i have question for help: how could i run fabric task at any host?like this:when i finish a py script with fab,at host A,i can run python fabfile.py,it‘s work done and good。but i want make&complete the script with pyinstaller,it did work,raise error。
Done.
Disconnecting from address@hidden done. Disconnecting from 192.168.2.3... done. Disconnecting from 192.168.2.233... done.
raise error when i run it,with pyinstaller bulid it. address@hidden opt]# ./fabfile Traceback (most recent call last): File "<string>", line 15, in <module> File "/opt/pyinstaller/PyInstaller/loader/iu.py", line 409, in importHook
raise ImportError("No module named %s" % fqname) ImportError: No module named fabric
this problem may be like this:why can‘t run the script name is not named fabfile or fabfile.py;and how user the args -f?
thk’s all!
叶子
[Prev in Thread]
Current Thread
[Next in Thread]
[Fab-user] some question for fabric-from CHINA,
g.t.lions<=