Skip to content

Commit

Permalink
Merge pull request #92 from zopefoundation/py37_build
Browse files Browse the repository at this point in the history
python 3.7 binary wheels.
  • Loading branch information
fgregg committed Aug 9, 2018
2 parents c8bf24e + c97b7c2 commit b5f6b71
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .manylinux-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ for PYBIN in /opt/python/*/bin; do
if [[ "${PYBIN}" == *"cp27"* ]] || \
[[ "${PYBIN}" == *"cp34"* ]] || \
[[ "${PYBIN}" == *"cp35"* ]] || \
[[ "${PYBIN}" == *"cp36"* ]]; then
[[ "${PYBIN}" == *"cp36"* ]] || \
[[ "${PYBIN}" == *"cp37"* ]]; then
"${PYBIN}/pip" install -e /io/
"${PYBIN}/pip" wheel /io/ -w wheelhouse/
rm -rf /io/build /io/*.egg-info
Expand Down
15 changes: 7 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ matrix:
- PURE_PYTHON=1
- WITH_COVERAGE=1
- os: linux
python: 3.7-dev
python: 3.7
dist: xenial
sudo: true
- os: linux
python: pypy
- os: linux
Expand All @@ -39,7 +41,10 @@ matrix:
env: TERRYFY_PYTHON='macpython 3.5'
- os: osx
language: generic
env: TERRYFY_PYTHON='macpython 3.6.0'
env: TERRYFY_PYTHON='macpython 3.6.1'
- os: osx
language: generic
env: TERRYFY_PYTHON='macpython 3.7.0'
- services:
- docker
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
Expand All @@ -61,12 +66,6 @@ before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then get_python_environment $TERRYFY_PYTHON venv; fi
install:
- pip install -U pip setuptools
# persistent is a setup_requires, which gets downloaded by
# setuptools, not pip. But macpython 3.6.0 setuptools has trouble with SSL on
# Travis CI
# (https://travis-ci.org/zopefoundation/BTrees/jobs/192340692) so
# we install with pip manually.
- pip install -U persistent
- if [[ "$WITH_COVERAGE" == "1" ]]; then pip install coveralls coverage; fi
- pip install -e .[test,ZODB]
script:
Expand Down
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
include pyproject.toml

include *.txt
include *.rst
include *.py
Expand Down
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ environment:
- python: 35-x64
- python: 36
- python: 36-x64
- python: 37
- python: 37-x64

install:
- "SET PATH=C:\\Python%PYTHON%;c:\\Python%PYTHON%\\scripts;%PATH%"
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[build-system]
requires = ["setuptools",
"wheel",
"persistent"]

0 comments on commit b5f6b71

Please sign in to comment.