File tree Expand file tree Collapse file tree 2 files changed +36
-26
lines changed
Expand file tree Collapse file tree 2 files changed +36
-26
lines changed Original file line number Diff line number Diff line change 3131import datetime
3232import itertools
3333import re
34- from hashlib import md5
35- from threading import Thread
36-
3734
3835def main ():
3936 signal .signal (signal .SIGINT , signal_handler )
Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ if [ "$doIt" = "y" ] || [ "$doIt" = "Y" ]; then
2828 echo " Debian-ish OS detected. using apt-get to install pip."
2929 apt-get --force-yes install python-pip
3030 pip install pymongo
31+ pip install couchdb
32+ pip install requests
33+ pip install unittest
34+ pip install pbkdf2
35+ pip install binascii
3136 pip install gridfs
3237 pip install ipcalc
3338 pip install hashlib
@@ -36,7 +41,6 @@ if [ "$doIt" = "y" ] || [ "$doIt" = "Y" ]; then
3641 pip install urllib
3742 pip install itertools
3843 pip install re
39- pip install threading
4044 pip install ast
4145 echo " All done. Check output for errors. Have fun!"
4246
@@ -51,17 +55,21 @@ if [ "$doIt" = "y" ] || [ "$doIt" = "Y" ]; then
5155 wget http://mirror-fpt-telecom.fpt.net/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
5256 rpm -ivh epel-release-6-8.noarch.rpm
5357 yum -y install python-pip
54- pip install pymongo
55- pip install gridfs
56- pip install ipcalc
57- pip install hashlib
58- pip install json
59- pip install httplib2
60- pip install urllib
61- pip install itertools
62- pip install re
63- pip install threading
64- pip install ast
58+ pip install pymongo
59+ pip install couchdb
60+ pip install requests
61+ pip install unittest
62+ pip install pbkdf2
63+ pip install binascii
64+ pip install gridfs
65+ pip install ipcalc
66+ pip install hashlib
67+ pip install json
68+ pip install httplib2
69+ pip install urllib
70+ pip install itertools
71+ pip install re
72+ pip install ast
6573 echo " All done. Check output for errors. Have fun!"
6674
6775
@@ -73,17 +81,22 @@ if [ "$doIt" = "y" ] || [ "$doIt" = "Y" ]; then
7381 wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
7482 rpm -ivh epel-release-5-4.noarch.rpm
7583 yum -y install python-pip
76- pip install pymongo
77- pip install gridfs
78- pip install ipcalc
79- pip install hashlib
80- pip install json
81- pip install httplib2
82- pip install urllib
83- pip install itertools
84- pip install re
85- pip install threading
86- pip install ast
84+ pip install pymongo
85+ pip install pymongo
86+ pip install couchdb
87+ pip install requests
88+ pip install unittest
89+ pip install pbkdf2
90+ pip install binascii
91+ pip install gridfs
92+ pip install ipcalc
93+ pip install hashlib
94+ pip install json
95+ pip install httplib2
96+ pip install urllib
97+ pip install itertools
98+ pip install re
99+ pip install ast
87100
88101 echo " All done. Check output for errors. Have fun!"
89102
You can’t perform that action at this time.
0 commit comments