update recipe: `modelcards`
@@ -13,6 +13,11 @@ build:
number: 0
noarch: python
script:
+ # The following is a temporary workaround
+ # Remove next 8 lines once the PR is merged
+ # and new PyPI source is released
+ # PR: https://github.com/nateraw/modelcards/pull/63
+
## Ensure inclusion of requirements.txt
{% set reqfile = "requirements.txt" %}
{% set reqsource = name ~ ".egg-info/requires.txt" %}
@@ -21,7 +26,8 @@ build:
- 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]
- # - cp -rf pyproject_bkp.toml pyproject.toml # [linux, osx]
+
+ ## Install package {{ name }} from PyPI
- {{ PYTHON }} -m pip install . -vv
requirements:
