Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENH] Add pyproject.toml #4179

Merged
merged 2 commits into from
Nov 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ include COPYING
include LICENSE
include setup.py
include setup.cfg
include pyproject.toml
7 changes: 2 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ matrix:
environment:
global:
PIP_DISABLE_PIP_VERSION_CHECK: 1
# disable threaded builds on Python 3.5+ when using numpy's distutils
# (https://github.com/numpy/numpy/issues/7607)
BUILD_GLOBAL_OPTIONS: build -j1
BUILD_ENV: wheel==0.29.0 pip~=19.0 numpy==1.13.* -r requirements-doc.txt
BUILD_ENV: wheel==0.29.0 pip~=19.0
# SIP 4.19.4+ with PyQt5==5.9.1+ segfault our tests (GH-2756)
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
ORANGE_TEST_DB_URI: 'mssql://sa:Password12!@localhost:1433'
Expand Down Expand Up @@ -51,7 +48,7 @@ build_script:
- python setup.py clean --all
# get the package version
- for /f %%f in ('python setup.py --version') do ( set "VERSION=%%f" )
- python setup.py %BUILD_GLOBAL_OPTIONS% bdist_wheel
- python -m pip wheel --no-deps -w dist ./

test_script:
- python -m venv --clear build\.test
Expand Down
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[build-system]
requires = [
"setuptools>=40.8.0",
"wheel",
"numpy==1.14.5; python_version=='3.6'",
"numpy==1.14.5; python_version=='3.7'",
"numpy==1.17.3; python_version=='3.8'",
]