Changeset 35001


Ignore:
Timestamp:
2021-04-04T16:41:04+12:00 (3 years ago)
Author:
davidb
Message:

Refactored to use the my-python3 at this level in the directory hierarchy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare/03-GEN-VOTING-METADATA.sh

    r34948 r35001  
    33prep_dir=voting-excel
    44
    5 if [ ! -d $prep_dir/my-python-env ] ; then
     5if [ ! -d ./my-python3 ] ; then
    66    echo "" 1>&2
    7     echo "Failed to find: $prep_dir/my-python-env" 1>&2
     7    echo "Failed to find: ./my-python3" 1>&2
    88    echo "Have you run:" 1>&2
    9     echo "  cd $prep_dir && ./CREATE-PYTHON-VENV.sh && cd .." 1>&2
     9    echo "  ./CREATE-PYTHON-VENV.sh" 1>&2
    1010    echo "" 1>&2
    1111   
     
    2020fi
    2121
     22#
     23# Get list of European countries in CSV format
     24# (used by python script)
     25#
    2226if [ ! -f voting-excel/dbpedia--european-countries.csv ] ; then
    2327    ./DBPEDIA-LOD-SPARQL-QUERY.sh voting-excel/dbpedia--european-countries.sparql csv
     
    3539exit_status=0
    3640
    37 source  $prep_dir/my-python-env/bin/activate
     41source  ./my-python3/bin/activate
    3842
    3943$prep_dir/xlsx-fromcountry-jsonmetadata.py \
Note: See TracChangeset for help on using the changeset viewer.