Skip to content

Commit

Permalink
recipes: Add requirements-detector.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham committed Aug 10, 2016
1 parent a176263 commit 7abfe93
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions recipes/requirements-detector/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{% set name = "requirements-detector" %}
{% set version = "0.5.1" %}
{% set sha256 = "37a4e31ce45dc7d7659dbe611846e0710847fb6f6ffa1944394f6044e6f81a97" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
{% set pypi_name = name.replace("_", "-") %}
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ pypi_name[0] }}/{{ pypi_name }}/{{ pypi_name }}-{{ version }}.tar.gz
sha256: {{ sha256 }}

build:
number: 0
script: python setup.py install --single-version-externally-managed --record record.txt

requirements:
build:
- python
- setuptools
- astroid >=1.4

run:
- python
- setuptools
- astroid >=1.4

test:
imports:
- requirements_detector

about:
home: https://github.com/landscapeio/requirements-detector
license: MIT
summary: 'Python tool to find and list requirements of a Python project'

extra:
recipe-maintainers:
- jakirkham

0 comments on commit 7abfe93

Please sign in to comment.