-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copy dll into source tree when building on windows
There is no auditwheel-like tool for python wheels on windows, which means segyio must manually bundle the segyio core dll with the wheel. setuptools is *very* pick and assumes everything is relative paths downwards, and always run from root in the source directory, which means grabbing a copy of the just-in-time built dll is non-trivial. On windows, copy the dll into the source directory, like version.py is written by setuptools.This ensures setuptools find the dll when it's making the python package, and copies it in accordingly.
- Loading branch information
Showing
3 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
python/segyio/version.py | ||
python/segyio/segyio.dll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters