update recipe: cleanup 04
@@ -13,13 +13,15 @@ build:
number: 0
noarch: python
script:
- ## Ensure inclusion of requirements.txt
+ ## NOTE: remove the following once the
+ # following PR is merged.
+ # PR: https://github.com/Nixtla/statsforecast/pull/24
+ #
+ ## Ensure inclusion of settings.ini
{% set settingsfile = "settings.ini" %}
- # {% set reqsource = name ~ ".egg-info/requires.txt" %}
- # IF {{ reqfile }} is NOT PRESENT, COPY {{ reqfile }} from {{ reqsource }}
+ # IF {{ settingsfile }} is NOT PRESENT, COPY {{ settingsfile }} from $RECIPE_DIR
- echo -e "\n>>> ENSURE INCLUSION OF '{{ settingsfile }}' <<<\n\n"
- if [ ! -f {{ settingsfile }} ]; then cp $RECIPE_DIR/{{ settingsfile }} {{ settingsfile }}; fi # [not win]
- #- copy {{ name }}.egg-info\requires.txt {{ reqfile }} # [win]
- copy {{ environ.get("RECIPE_DIR") }}\{{ settingsfile }} {{ settingsfile }} # [win]
- {{ PYTHON }} -m pip install . -vv
