Add pyproject.toml to specify cython and numpy as build deps#808
Conversation
|
rahulporuri
left a comment
There was a problem hiding this comment.
LGTM with a couple of minor comments.
Note that I am seeing the following towards the end of the wheel building process
WARNING: Value for scheme.headers does not match. Please report this to pypa/pip#9617
distutils: C:\Users\rporuri.edm\envs\temp4\Include\UNKNOWN
sysconfig: C:\Users\rporuri.edm\envs\temp4\Include
WARNING: Additional context:
user = False
home = None
root = None
prefix = None
Not sure how relevant that is.
1st part of #769
This PR simply includes a
pyproject.tomlfile specifyingcythonandnumpyas build dependencies.I ran
python setup.py sdist, created a fresh environment and ranpip install enable-5.1.0.dev280.tar.gzpreviously I saw:
Now I see the far more long winded:
Details
I then ran
brew install swigand re-ranpip install enable-5.1.0.dev280.tar.gzand I see:Details
A follow up PR will be needed to raise an exception in
setup.pyif we have the wrong swig version.