try a simpler version
@@ -21,11 +21,7 @@ build:
{% set reqsource = "dimcli.egg-info/requires.txt" %}
# IF {{ reqfile }} is NOT PRESENT, COPY {{ reqfile }} from {{ reqsource }}
- if [ ! -f {{ reqfile }} ] && [ -f {{ reqsource }} ]; then cp {{ reqsource }} {{ reqfile }}; fi # [not win]
- - if (-not(Test-Path -Path {{ reqfile }})) { `
- if (Test-Path -Path {{ reqsource | replace("/", "\") }}) { `
- copy {{ reqsource | replace("/", "\") }} {{ reqfile | replace("/", "\") }} `
- } `
- } # [win]
+ - copy {{ reqsource | replace("/", "\") }} {{ reqfile }} # [win]
- {{ PYTHON }} -m pip install . -vv
requirements:
