update recipe: weblogo (9)
attempt to read-in license filenames
@@ -23,6 +23,7 @@ build:
# https://docs.conda.io/projects/conda-build/en/latest/user-guide/environment-variables.html#inherited-environment-variables
- SEP_CHAR=/ # [not win]
- SEP_CHAR=\\ # [win]
+ - LICENSE_FILE_NAMES
script:
{% set licenses = [
"LICENSE_biopython.txt",
@@ -41,6 +42,13 @@ build:
"LICENSE_weblogo_seqio.txt",
"LICENSE_weblogo_transform.py.txt",
] %}
+ ### ATTEMPT: START (to read-in license filenames)
+ # If this works, manually enlisting all filenames
+ # will not be necessary anymore.
+ - export LICENSE_FILE_NAMES=$(ls) # [not win]
+ {% set licensefiles = environ.get("LICENSE_FILE_NAMES").split(" ") %}
+ - echo -e "LICENSE_FILE_NAMES:"\n${LICENSE_FILE_NAMES}\n\n"licensefiles:"\n{{ licensefiles }} # [not win]
+ ### ATTEMPT: END
- cp -r ${RECIPE_DIR}/licenses licenses # [not win]
- xcopy /s /e /q /i %RECIPE_DIR%\licenses licenses # [win]
- {{ PYTHON }} -m pip install . -vv
