Skip to content

Commit

Permalink
Merge pull request #723 from NeurodataWithoutBorders/fix_scipy_import…
Browse files Browse the repository at this point in the history
…_build

Import scipy.special._cdflib in build
  • Loading branch information
CodyCBakerPhD authored Apr 3, 2024
2 parents c3b899b + 1128d53 commit d70d73a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion environments/environment-Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ dependencies:
- pytest == 7.2.2
- pytest-cov == 4.1.0
- scikit-learn == 1.4.0
- scipy == 1.12.0
7 changes: 6 additions & 1 deletion nwb-guide.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ from PyInstaller.utils.hooks import collect_all

datas = [('./paths.config.json', '.'), ('./package.json', '.')]
binaries = []
hiddenimports = [ 'email_validator', *collect_submodules('scipy.special.cython_special'), *os.path.join(os.path.dirname(scipy.__file__), '.libs')]
hiddenimports = [
'email_validator',
*collect_submodules('scipy.special.cython_special'),
*collect_submodules('scipy.special._cdflib'),
*os.path.join(os.path.dirname(scipy.__file__), '.libs')
]

datas += collect_data_files('jsonschema_specifications')
tmp_ret = collect_all('dandi')
Expand Down

0 comments on commit d70d73a

Please sign in to comment.