Updated recipe to match the example
Use --single-version-externally-managed --record record.txt
+{% set name = "ldaptor" %}
+{% set version = "16.0.1" %}
+{% set sha256 = "6b9ebe5814e9e7091703c4e3bfeae73b46508b4678e2ff403cddaedf8213815d" %}
+
package:
- name: ldaptor
- version: "16.0.1"
+ name: {{ name|lower }}
+ version: {{ version }}
source:
- fn: ldaptor-16.0.1.tar.gz
- url: https://pypi.python.org/packages/d9/76/a25321b8941bf02e24b4923273caaf531890fb092a06f14d62c1683b11a2/ldaptor-16.0.1.tar.gz
- md5: 2bda97c508c4fa3a269f40209f6e5311
+ 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:
