-
Notifications
You must be signed in to change notification settings - Fork 99
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
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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).
and now:
If I then install swig (e.g
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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:
and then after installing numpy:
Now, I see:
EDIT: this PR now closes #534