-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
10 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
bash copylibsconda.sh | ||
|
||
#!/bin/bash | ||
pip install -e . | ||
bash copylibsconda.sh |
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,20 +1,13 @@ | ||
#!/bin/bash | ||
# currently unable to get setup.py to copy | ||
# the c library properly using relative path | ||
# so this script is a hack that copies the lib directory | ||
# installs the clij2fft python package then | ||
# deletes the lib directory | ||
# then installs the clij2fft python package in editable mode | ||
|
||
# script may also be a useful template to follow if trying to install on your system | ||
# script may be a useful template to follow if trying to install in editable on your system | ||
# but remember to edit editableinstall.sh to point to the correct location of the lib directory | ||
# (i.e. the conda/mamba location on your system) | ||
|
||
# first build native code | ||
echo 'building native code' | ||
cd ../native | ||
bash cppbuild.sh | ||
cd ../python | ||
|
||
# now copy the libraries so that they are under the python directory | ||
echo 'copying libs' | ||
mkdir lib | ||
cp -r ../lib/* lib | ||
bash pythonbuild.sh | ||
|
||
bash editableinstall.sh |