Skip to content

Demo project for building Python wheels for Linux with Travis-CI

License

Notifications You must be signed in to change notification settings

pypy/pypy-manylinux-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pypy-manylinux-demo

Demo project for building Python+PyPy wheels for Linux with Travis-CI

Build Status

This is a fork of the official python-manylinux-demo project. Building PyPy wheels is as easy as changing the docker image to use, as shown by this commit.

diff --git a/.travis.yml b/.travis.yml
index 51e4a73..990950e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,7 +17,7 @@ matrix:
     - sudo: required
       services:
         - docker
-      env: DOCKER_IMAGE=quay.io/pypa/manylinux2010_x86_64
+      env: DOCKER_IMAGE=pypywheels/manylinux2010-pypy_x86_64
            PLAT=manylinux2010_x86_64

This works because the default script builds a wheel for every python installation found in /opt/python, which now includes also PyPy.

If your build system is more elaborate or you want to build wheels for only selected versions of CPython/PyPy, you probably need to tweak your scripts and build wheels using e.g. /opt/python/pp271-pypy_41/bin/python.

About

Demo project for building Python wheels for Linux with Travis-CI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 64.0%
  • Python 21.8%
  • Shell 14.2%