Fixed recipe as described in example
+{% set name = "reg" %}
+{% set version = "0.11" %}
+{% set sha256 = "" %}
+
package:
- name: reg
- version: "0.11"
+ name: {{ name|lower }}
+ version: {{ version }}
source:
- fn: reg-0.11.tar.gz
- url: https://pypi.python.org/packages/50/45/cdf15fd2fe84d9bcedc38fb42e5c0836c9e6bf21d9b0f7b40ba4cf488008/reg-0.11.tar.gz
- md5: 3ccd994b49f8de507d4cbc33c755f20c
+ fn: {{ name }}-{{ version }}.tar.gz
+ url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
+ sha256: {{ sha256 }}
build:
- preserve_egg_dir: True
number: 0
- script: python setup.py install
+ script: python setup.py install --single-version-externally-managed --record record.txt
+ preserve_egg_dir: True
requirements:
build:
