updated recipe
removed redundant scripts
@@ -14,14 +14,6 @@ build:
number: 0
noarch: python
script:
- ## Ensure inclusion of requirements.txt
- {% set reqfile = "requirements.txt" %}
- {% set reqsource = name ~ ".egg-info/requires.txt" %}
- # IF {{ reqfile }} is NOT PRESENT, COPY {{ reqfile }} from {{ reqsource }}
- - echo -e "\n>>> ENSURE INCLUSION OF FILE '{{ reqfile }}' <<<\n\n"
- - if [ ! -f {{ reqfile }} ] && [ -f {{ reqsource }} ]; then cp {{ reqsource }} {{ reqfile }}; fi # [not win]
- #- copy {{ name }}.egg-info\requires.txt {{ reqfile }} # [win]
- - copy {{ reqsource | replace('/', '\\') }} {{ reqfile }} # [win]
## Ensure exclusion of tests folder
{% set testsfolder = "test" %}
- echo -e "\n>>> ENSURE EXCLUSION OF FOLDER '{{ testsfolder }}' <<<\n\n"
