Add pyproject.toml specifying numpy and cython as build deps#730
Conversation
|
Like we discussed offline, i think we need to update the |
| # If this file is part of a Git export (for example created with "git archive", | ||
| # or downloaded from GitHub), ARCHIVE_COMMIT_HASH gives the full hash of the | ||
| # commit that was exported. | ||
| ARCHIVE_COMMIT_HASH = "$Format:%H$" |
There was a problem hiding this comment.
you'll have to add a .gitattributes file to the root of the git repository if you want this to work correctly. ref https://github.com/enthought/traitsui/blob/master/.gitattributes
|
I tested this PR as follows -
This then gave rise to the error From the looks of it, this should be fixed when the same changes in |
|
In the latest commit I require enable master not a released version of enable (undo this commit before merging). Detailsand now: DetailsIf I then install swig (e.g Details |
rahulporuri
left a comment
There was a problem hiding this comment.
Looks like this isn't a WIP anymore so LGTM.
I tested this locally and the only error i got was regarding the missing swig. If i fixi that using edm install swig -y, I don't run into any errors and the installation is successfull!
Co-authored-by: Poruri Sai Rahul <rporuri@enthought.com>
closes #372
This PR mirrors enthought/enable#808
It adds a pyproject.toml specifying cython and numpy as build deps.
Note I tried building an sdist in my bootstrap env (has effectively everything installed, generally with editable installs for ets things), then created a fresh env and tried pip installing the sdist.
Previously I had seen:
Details
and then after installing numpy:
Details
Now, I see:
Details
EDIT: this PR now closes #534