clean up recipe
try with pip-check
@@ -15,17 +15,7 @@ build:
noarch: python
entry_points:
- unionml = unionml.cli:app
- 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 '{{ 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]
- ## Install package {{ name }} from PyPI
- - {{ PYTHON }} -m pip install . -vv
+ script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
@@ -55,7 +45,7 @@ test:
imports:
- unionml
commands:
- #- pip check
+ - pip check
- unionml --help
requires:
- pip
