Skip to content

Commit e1034aa

Browse files
committed
update windows installtion guild
1 parent a13e74f commit e1034aa

File tree

1 file changed

+26
-7
lines changed

1 file changed

+26
-7
lines changed

README.md

+26-7
Original file line numberDiff line numberDiff line change
@@ -104,31 +104,50 @@ Use tcpdns.exe in win directory.
104104
```
105105

106106
#### Windows installation guide
107-
107+
108108
In order to build gevent library you should install Visual Studio,
109109
although tcpdns.py can run perfectly without python gevent.
110-
111-
110+
111+
112112
1. Pull the submodule source code.
113113
```bash
114114
cd Tcp-DNS-proxy
115115
git submodule update --init --recursive
116116
```
117117

118-
2. Install pip.exe
118+
2. install python 2.7.9
119+
120+
121+
3. Install pip.exe
119122

120123
Download get-pip.py from [get-pip.py](https://raw.github.com/pypa/pip/master/contrib/get-pip.py),
121124
execute the following commands:
122-
125+
123126
```
124127
python get-pip.py
125128
```
126-
3. Install python gevent
127-
129+
4. install greenlet
130+
131+
```
132+
C:\Python27\Scripts\pip.exe install greenlet
133+
```
134+
135+
5. install Microsoft Visual C++ Compiler for Python 2.7
136+
137+
[Download link](http://www.microsoft.com/en-us/download/details.aspx?id=44266)
138+
139+
6. Install python gevent
140+
128141
```
129142
C:\Python27\Scripts\pip.exe install gevent
130143
```
131144

145+
7. install py2exe
146+
147+
[Download link](http://sourceforge.net/projects/py2exe/files/py2exe/0.6.9/)
148+
149+
8. execute toexe.bat
150+
132151

133152
LICENSE
134153
----------------------

0 commit comments

Comments
 (0)