diff --git a/recipes/PuLP/meta.yaml b/recipes/PuLP/meta.yaml new file mode 100644 index 0000000000000..fc595ffab952e --- /dev/null +++ b/recipes/PuLP/meta.yaml @@ -0,0 +1,43 @@ +{% set name = "PuLP" %} +{% set version = "2.9.0" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/pulp-{{ version }}.tar.gz + sha256: 2e30e6c0ef2c0edac185220e3e53faca62eb786a9bd68465208f05bc63e850f3 + +build: + entry_points: + - pulptest = pulp.tests.run_tests:pulpTestAll + noarch: python + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + number: 0 + +requirements: + host: + - python >=3.7 + - pip + run: + - python >=3.7 + +test: + imports: + - pulp + commands: + - pip check + - pulptest --help + requires: + - pip + +about: + home: https://github.com/coin-or/pulp + summary: PuLP is an LP modeler written in python. PuLP can generate MPS or LP files and call GLPK, COIN CLP/CBC, CPLEX, and GUROBI to solve linear problems. + license: MIT + license_file: LICENSE + +extra: + recipe-maintainers: + - WeilinHuJim