mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-06 09:50:01 +00:00
build: Create tox environments using a known Cython version (#408)
This change causes Tox to run the project's setup.py in a virtualenv (default path is .tox/.package). The required version of Cython is installed, rather than whatever version is installed system wide.
This commit is contained in:
parent
3b71818bb0
commit
02e1f7623c
3 changed files with 10 additions and 0 deletions
8
pyproject.toml
Normal file
8
pyproject.toml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[build-system]
|
||||
requires = [
|
||||
# Also declared in requirements.txt, if updating here please also update
|
||||
# there
|
||||
"Cython~=0.29.13",
|
||||
"setuptools >= 35.0.2",
|
||||
]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
|
@ -1 +1,2 @@
|
|||
# Also declared in pyproject.toml, if updating here please also update there
|
||||
Cython~=0.29.13
|
||||
|
|
|
|||
1
tox.ini
1
tox.ini
|
|
@ -5,6 +5,7 @@ envlist =
|
|||
{pypy,pypy3}-pure,
|
||||
py27-x86,
|
||||
py34-x86,
|
||||
isolated_build = true
|
||||
|
||||
[variants:pure]
|
||||
setenv=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue