Skip to content

Commit

Permalink
Back to use %PYTHON% on AppVeyor
Browse files Browse the repository at this point in the history
  • Loading branch information
martingalloar committed Jun 18, 2018
1 parent 10e675a commit 1f50f4b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ install:
- "set PATH=%APPVEYOR_BUILD_FOLDER%;%PYTHON%;%PYTHON%\\Scripts;%PATH%"

# Install whell for building
- "pip2 install wheel"
- "%PYTHON%\python.exe -m pip install wheel"

# Installing Npcap
- ps: iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/secdev/scapy/master/.appveyor/InstallNpcap.ps1'))
Expand All @@ -34,25 +34,25 @@ install:
- if "%ARCH%"=="64" (call "C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\vcvarsall.bat" amd64)

# Build and install the library
- "python.exe setup.py install"
- "%PYTHON%\python.exe setup.py install"

# Install optional requirements
- "pip2 install -r requirements-docs.txt"
- "pip2 install -r requirements-optional.txt"
- "%PYTHON%\python.exe -m pip install -r requirements-docs.txt"
- "%PYTHON%\python.exe -m pip install -r requirements-optional.txt"

build: off

test_script:
# Run tests
#- "python.exe setup.py test"
# Build the docs
- "python.exe setup.py doc"
- "%PYTHON%\python.exe python.exe setup.py doc"

after_test:
# Build a source artifact
- "python.exe setup.py sdist"
- "%PYTHON%\python.exe setup.py sdist"
# Build a wheel artifact
- "python.exe setup.py bdist_wheel"
- "%PYTHON%\python.exe setup.py bdist_wheel"

artifacts:
- path: dist\*.whl
Expand Down

0 comments on commit 1f50f4b

Please sign in to comment.