Commit 95b41da Martin Gallo
committed
1 parent 33e7db4 commit 95b41da Copy full SHA for 95b41da
File tree 1 file changed +8
-7
lines changed
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -21,20 +21,21 @@ install:
21
21
# Set path
22
22
- " set PYTHONPATH=%APPVEYOR_BUILD_FOLDER%"
23
23
- " set PATH=%APPVEYOR_BUILD_FOLDER%;%PYTHON%;%PYTHON%\\ Scripts;%PATH%"
24
+
25
+ # Install whell for building
24
26
- " python.exe -m pip install wheel"
25
- # Installing WinPcap directly does not work,
26
- # see http://help.appveyor.com/discussions/problems/2280-winpcap-installation-issue
27
- - cinst nmap
27
+
28
+ # Installing Npcap
29
+ - ps : iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/secdev/scapy/master/.appveyor/InstallNpcap.ps1'))
28
30
- refreshenv
29
- - " python.exe -m pip install Sphinx==1.6.5"
30
- # Copy WinPcap libraries so scapy can found them
31
- - " copy C:\\ Windows\\ System32\\ Npcap\\ wpcap.dll %APPVEYOR_BUILD_FOLDER%"
32
- - " copy C:\\ Windows\\ System32\\ Npcap\\ packet.dll %APPVEYOR_BUILD_FOLDER%"
31
+
33
32
# Set the proper build program
34
33
- if "%ARCH%"=="32" (call "C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\vcvarsall.bat" x86)
35
34
- if "%ARCH%"=="64" (call "C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\vcvarsall.bat" amd64)
35
+
36
36
# Build and install the library
37
37
- " python.exe setup.py install"
38
+
38
39
# Install optional requirements
39
40
- " pip install -r requirements-docs.txt"
40
41
- " pip install -r requirements-optional.txt"
You can’t perform that action at this time.
0 commit comments