-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP, ENH: Ship platform specific edfapi shared library files (#14)
* WIP: Add libedfapi (for Macos and Linux) * WIP: Add ability to use shipped edfapi shared library (macos and linux) * FIX: command * FIX: run * FIX: try * FIX: dont ignore shared library * FIX: OK now add the .so file that was being ignored * FIX: Remove unnecessary framework files * Add GHA to run tests on MacOS & Linux * FIX: flake * FIX: update lib path * FIX: version * FIX: dont trigger tests when pushed to non-main branches * WIP: launch macos job on circle * FIX: format error * FIX: version * Revert "FIX: update lib path" This reverts commit f6a674c. * Revert "FIX: Remove unnecessary framework files" This reverts commit 72d38fb. * Tell git not to parse files in libedfapi/macos * use -diff instead of binary * WIP: try without Headers * WIP: try without Versions subdir in MacOS libedfapi * FIX: path * TST: Add Intel Mac Runner * Do I need to specify Xcode? * Revert "Do I need to specify Xcode?" This reverts commit 9a0f963. * MAINT: Switch build backend to setuptools The reason is that I would like to use setuptools to build wheels instead of hatch. This is because I want to keep this package design in line with other similar packages in my community/field, i.e. antio * MAINT: Move from flat-layout -> src-layout package structure Since we now have the libedfapi folder, I think it is cleaner to keep this and eyelinkio in a src folder instead of at the root directory. This also mimics antio, and helps setuptools work automagically * FIX: Point ruff to src/eyelinkio * MAINT: Remove hatch configuration options from pyproject.toml Since we switched the build backend to setuptools in #47c5627 * Add Manifest.IN file This should make surethat src/libedfapi is distributed along with src/eyelinkio in tarballs and wheels * Remove .gitattributes * Add windows shared libraries and add a windows CI * FIX: Dont use export command on Windows runner * FIX: pathlib WindowsPath not compatible with ctypes.CDLL ?? * WIP: Try without windows static files (.lib) * WIP: Ok now try dropping the shippzed Zlib dynamic library on Windows * Revert "WIP: Ok now try dropping the shippzed Zlib dynamic library on Windows" This reverts commit 1b9f4d2. * MAINT: Replace MacOS libedfapi with the latest release... Latest release is: '4.2.1197.0 MacOS X standalone Sep 27 2024' But I initially added the previous release to the repository: '4.2.762.0 MacOS X standalone Jul 20 2023' * TST, WIP: Add Windows Runner on CircleCI * FIX: format * FIX: config * FIX: orb * MAINT: Use most up to date version of libedfapi on windows. The initial files I used were from a version of libedfapi released in 2015. These files are from the most current release: EyeLink Developers Kit / API v2.1.1197, Released October 1st 2024 * FIX: Include updated ZLIB dynamic library, too * DOC: Update docs * rename CI * FIX: update test name and no need to install edf-api for doc build * FIX: Markdown flakes
- Loading branch information
1 parent
1901330
commit a6d2c1d
Showing
31 changed files
with
274 additions
and
62 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Run Tests (No SDK) | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- macos-latest # Latest Apple Silicon macOS | ||
- macos-13 # Latest Intel-based macOS | ||
- windows-latest | ||
python-version: ['3.10'] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install -e ".[dev]" | ||
- name: Set environment variables On macOS and Linux | ||
if: runner.os != 'Windows' | ||
run: | | ||
export EYELINKIO_USE_INSTALLED_EDFAPI=false | ||
- name: Run tests | ||
run: pytest |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
recursive-include src * | ||
recursive-exclude tests * |
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
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.