File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 6565 - name : Prepare TVB online help
6666 run : |
6767 python3 -m pip install sphinx
68- cd tvb_build
68+ cd tvb_library
69+ python3 -m pip install -e .
70+ cd ../tvb_bin
71+ python3 -m pip install -e .
72+ cd ../tvb_build
6973 python3 build_step1.py ${{ github.ref_name }} True
70- ls tvb_build/ docker
74+ ls docker/step1/TVB_Distribution
7175
7276 - name : Build Docker image
7377 uses : docker/build-push-action@v6
Original file line number Diff line number Diff line change 4444import requests
4545
4646import tvb_bin
47- import tvb_data
4847from subprocess import Popen , PIPE
4948
5049# source paths
5352FW_FOLDER = os .path .join (TVB_ROOT , 'tvb_framework' )
5453LICENSE_PATH = os .path .join (FW_FOLDER , 'LICENSE' )
5554RELEASE_NOTES_PATH = os .path .join (TVB_ROOT , 'tvb_documentation' , 'RELEASE_NOTES' )
56- DATA_SRC_FOLDER = os .path .dirname (tvb_data .__file__ )
5755DEMOS_MATLAB_FOLDER = os .path .join (TVB_ROOT , 'tvb_documentation' , 'matlab' )
5856
5957# dest paths
117115
118116
119117def _copy_dataset (dataset_files , dataset_destination ):
118+ import tvb_data
119+ DATA_SRC_FOLDER = os .path .dirname (tvb_data .__file__ )
120+
120121 for pth in dataset_files :
121122 rel_pth = pth .split ('/' )
122123 origin = os .path .join (DATA_SRC_FOLDER , * rel_pth )
@@ -263,5 +264,5 @@ def build_step1(only_online_help=False):
263264 # ensure_tvb_current_revision(branch, token)
264265 only_online_help = False
265266 if len (sys .argv ) > 2 :
266- only_online_help = bool (sys .argv [3 ])
267+ only_online_help = bool (sys .argv [2 ])
267268 build_step1 (only_online_help )
You can’t perform that action at this time.
0 commit comments