mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-11-08 13:31:01 +00:00
update for Python 3.8 (#374)
This commit is contained in:
parent
997b524f06
commit
b458e9a6a2
6 changed files with 22 additions and 3 deletions
|
|
@ -29,6 +29,10 @@ test_script:
|
||||||
- ci\\runtests.bat
|
- ci\\runtests.bat
|
||||||
- set PYTHON="C:\\Python37-x64"
|
- set PYTHON="C:\\Python37-x64"
|
||||||
- ci\\runtests.bat
|
- ci\\runtests.bat
|
||||||
|
- set PYTHON="C:\\Python38"
|
||||||
|
- ci\\runtests.bat
|
||||||
|
- set PYTHON="C:\\Python38-x64"
|
||||||
|
- ci\\runtests.bat
|
||||||
|
|
||||||
after_test:
|
after_test:
|
||||||
# This step builds your wheels.
|
# This step builds your wheels.
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
DOCKER_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
source "$DOCKER_DIR/shared.env"
|
||||||
|
|
||||||
set -e -x
|
set -e -x
|
||||||
|
|
||||||
ARCH=`uname -p`
|
ARCH=`uname -p`
|
||||||
echo "arch=$ARCH"
|
echo "arch=$ARCH"
|
||||||
|
|
||||||
for V in cp37-cp37m cp36-cp36m cp35-cp35m cp27-cp27m cp27-cp27mu; do
|
for V in "${PYTHON_VERSIONS[@]}"; do
|
||||||
PYBIN=/opt/python/$V/bin
|
PYBIN=/opt/python/$V/bin
|
||||||
rm -rf build/ # Avoid lib build by narrow Python is used by wide python
|
rm -rf build/ # Avoid lib build by narrow Python is used by wide python
|
||||||
$PYBIN/python setup.py bdist_wheel -p manylinux1_${ARCH}
|
$PYBIN/python setup.py bdist_wheel -p manylinux1_${ARCH}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
DOCKER_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
source "$DOCKER_DIR/shared.env"
|
||||||
|
|
||||||
set -e -x
|
set -e -x
|
||||||
|
|
||||||
for V in cp36-cp36m cp35-cp35m cp27-cp27m cp27-cp27mu; do
|
for V in "${PYTHON_VERSIONS[@]}"; do
|
||||||
PYBIN=/opt/python/$V/bin
|
PYBIN=/opt/python/$V/bin
|
||||||
$PYBIN/python setup.py install
|
$PYBIN/python setup.py install
|
||||||
rm -rf build/ # Avoid lib build by narrow Python is used by wide python
|
rm -rf build/ # Avoid lib build by narrow Python is used by wide python
|
||||||
|
|
|
||||||
8
docker/shared.env
Normal file
8
docker/shared.env
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
PYTHON_VERSIONS=(
|
||||||
|
cp38-cp38
|
||||||
|
cp37-cp37m
|
||||||
|
cp36-cp36m
|
||||||
|
cp35-cp35m
|
||||||
|
cp27-cp27m
|
||||||
|
cp27-cp27mu
|
||||||
|
)
|
||||||
1
setup.py
1
setup.py
|
|
@ -128,6 +128,7 @@ setup(name=name,
|
||||||
'Programming Language :: Python :: 3.5',
|
'Programming Language :: Python :: 3.5',
|
||||||
'Programming Language :: Python :: 3.6',
|
'Programming Language :: Python :: 3.6',
|
||||||
'Programming Language :: Python :: 3.7',
|
'Programming Language :: Python :: 3.7',
|
||||||
|
'Programming Language :: Python :: 3.8',
|
||||||
'Programming Language :: Python :: Implementation :: CPython',
|
'Programming Language :: Python :: Implementation :: CPython',
|
||||||
'Programming Language :: Python :: Implementation :: PyPy',
|
'Programming Language :: Python :: Implementation :: PyPy',
|
||||||
'Intended Audience :: Developers',
|
'Intended Audience :: Developers',
|
||||||
|
|
|
||||||
2
tox.ini
2
tox.ini
|
|
@ -1,5 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = {py27,py35,py36,py37}-{c,pure},{pypy,pypy3}-pure,py27-x86,py34-x86
|
envlist = {py27,py35,py36,py37,py38}-{c,pure},{pypy,pypy3}-pure,py27-x86,py34-x86
|
||||||
|
|
||||||
[variants:pure]
|
[variants:pure]
|
||||||
setenv=
|
setenv=
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue