How to install pypy on appveyor?

I have a Python extension that needs to be compiled using the PyPy interpreter in the continuous application integration service based on Windows. How to get PyPy in this environment?

+5
source share
1 answer

Add these PowerShell commands to the "Installation" phase of your assembly:

(New-Object Net.WebClient).DownloadFile('https://bitbucket.org/pypy/pypy/downloads/pypy3-2.4.0-win32.zip', "$env:appveyor_build_folder\pypy3-2.4.0-win32.zip") 7z x pypy3-2.4.0-win32.zip | Out-Null $env:path = "$env:appveyor_build_folder\pypy3-2.4.0-win32;$env:path" 

Then you can call pypy.exe from anywhere in your assembly.

+7
source

All Articles