Skip to content

Commit 995d3c4

Browse files
authored
Merge pull request #4179 from ales-erjavec/pyproject
[ENH] Add pyproject.toml
2 parents 0f730b4 + a1ce102 commit 995d3c4

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ include COPYING
2323
include LICENSE
2424
include setup.py
2525
include setup.cfg
26+
include pyproject.toml

appveyor.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ matrix:
1515
environment:
1616
global:
1717
PIP_DISABLE_PIP_VERSION_CHECK: 1
18-
# disable threaded builds on Python 3.5+ when using numpy's distutils
19-
# (https://github.com/numpy/numpy/issues/7607)
20-
BUILD_GLOBAL_OPTIONS: build -j1
21-
BUILD_ENV: wheel==0.29.0 pip~=19.0 numpy==1.13.* -r requirements-doc.txt
18+
BUILD_ENV: wheel==0.29.0 pip~=19.0
2219
# SIP 4.19.4+ with PyQt5==5.9.1+ segfault our tests (GH-2756)
2320
TEST_ENV: sip==4.19.6 PyQt5==5.9.2 numpy>=1.16.0 scipy~=1.0.0 scikit-learn pandas==0.21.1 pymssql
2421
ORANGE_TEST_DB_URI: 'mssql://sa:Password12!@localhost:1433'
@@ -51,7 +48,7 @@ build_script:
5148
- python setup.py clean --all
5249
# get the package version
5350
- for /f %%f in ('python setup.py --version') do ( set "VERSION=%%f" )
54-
- python setup.py %BUILD_GLOBAL_OPTIONS% bdist_wheel
51+
- python -m pip wheel --no-deps -w dist ./
5552

5653
test_script:
5754
- python -m venv --clear build\.test

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+
"setuptools>=40.8.0",
4+
"wheel",
5+
"numpy==1.14.5; python_version=='3.6'",
6+
"numpy==1.14.5; python_version=='3.7'",
7+
"numpy==1.17.3; python_version=='3.8'",
8+
]

0 commit comments

Comments
 (0)