8000 build: Create tox environments using a known Cython version (#408) · cantabular/msgpack-python@02e1f76 · GitHub
[go: up one dir, main page]

Skip to content

Commit 02e1f76

Browse files
authored
build: Create tox environments using a known Cython version (msgpack#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.
1 parent 3b71818 commit 02e1f76

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[build-system]
2+
requires = [
3+
# Also declared in requirements.txt, if updating here please also update
4+
# there
5+
"Cython~=0.29.13",
6+
"setuptools >= 35.0.2",
7+
]
8+
build-backend = "setuptools.build_meta"

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Also declared in pyproject.toml, if updating here please also update there
12
Cython~=0.29.13

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ envlist =
55
{pypy,pypy3}-pure,
66
py27-x86,
77
py34-x86,
8+
isolated_build = true
89

910
[variants:pure]
1011
setenv=

0 commit comments

Comments
 (0)
0