-
Notifications
You must be signed in to change notification settings - Fork 1
Use GitHub Actions for package releases #67
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
base: main
Are you sure you want to change the base?
Conversation
…oric into useGitHubActions # Conflicts: # .github/workflows/release-cmn.yml
…rsion to the one in local environment
.github/workflows/release-s2p.yml
Outdated
| shell: cmd | ||
| run: | | ||
| venv\Scripts\python -m pip install --upgrade pip | ||
| venv\Scripts\pip install --constraint Deploy\constraints\pins.txt h5py pyinstaller suite2p |
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.
Need to be suite2p==0.14.4
Because of this PR: MouseLand/suite2p@be8830d#diff-201e3e4b116e5c43900968776b7d6c708708c22c8436c8e5488b48327f212fd6R181
Someone is doing a PR to fix that problem MouseLand/suite2p#1195
Deploy/pack_minian.spec
Outdated
| for dyn_pkg, dest in [ | ||
| ('llvmlite', os.path.join('Library', 'bin')), | ||
| ('scipy', os.path.join('scipy', '.libs')), | ||
| ('h5py', '.'), | ||
| ('SimpleITK', '.'), | ||
| ('cv2', '.'), | ||
| ]: | ||
| try: | ||
| binaries += collect_dynamic_libs(dyn_pkg, destdir=dest) | ||
| except ImportError: | ||
| pass | ||
|
|
||
| conda_prefix = os.environ.get('MINIAN_CONDA_PREFIX') or os.environ.get('CONDA_PREFIX') | ||
| if conda_prefix: | ||
| library_bin = Path(conda_prefix) / 'Library' / 'bin' | ||
| if library_bin.is_dir(): | ||
| dll_patterns = [ | ||
| 'hdf*.dll', | ||
| 'hdf5*.dll', | ||
| ] | ||
| seen = set() |
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.
If I comments the hdf5 stuff like that
for dyn_pkg, dest in [
('llvmlite', os.path.join('Library', 'bin')),
('scipy', os.path.join('scipy', '.libs')),
# ('h5py', '.'),
('SimpleITK', '.'),
('cv2', '.'),
]:
try:
binaries += collect_dynamic_libs(dyn_pkg, destdir=dest)
except ImportError:
pass
conda_prefix = os.environ.get('MINIAN_CONDA_PREFIX') or os.environ.get('CONDA_PREFIX')
if conda_prefix:
library_bin = Path(conda_prefix) / 'Library' / 'bin'
if library_bin.is_dir():
dll_patterns = [
# 'hdf*.dll',
# 'hdf5*.dll',
]
seen = set()Everything work. I don't have the hdf5 error anymore
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.
It works with Github Actions?
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.
I can't test the Github actions. Some how I don't have the right to edit this file and push it :(
See builds here: https://github.com/doriclenses/pyDoric/actions
See releases here: https://github.com/doriclenses/pyDoric/releases