Updated/Fixed recipe to match the example
+{% set name = "importscan" %}
+{% set version = "0.1" %}
+{% set sha256 = "5c003afe8d7f48d684bc9f66e8109952234812b225be324ce572ce4278b18f10" %}
+
package:
- name: importscan
- version: "0.1"
+ name: {{ name|lower }}
+ version: {{ version }}
source:
- fn: importscan-0.1.tar.gz
- url: https://pypi.python.org/packages/2d/e1/01431f1afc930befc4a1e32b39e5227124ebcd5ee165683b0d8e80fdb45f/importscan-0.1.tar.gz
- md5: 91d89845f99358c9ee5491ffcffc09da
+ fn: {{ name }}-{{ version }}.tar.gz
+ url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
+ sha256: {{ sha256 }}
build:
number: 0
- script: python setup.py install
+ script: python setup.py install --single-version-externally-managed --record record.txt
requirements:
build:
