Add Coconut entry points
{% set name = "coconut" %}
{% set version = "1.2.3" %}
+{% set build = 0 %}
{% set sha256 = "8965cf8d975eebdf567230aa1598cf8efe72dacfcf7fec853dfd09fed16952d7" %}
-# sha256 is the prefered checksum -- you can get it for a file with:
-# `openssl sha256 <file name>`.
-# You may need the openssl package, available on conda-forge
-# `conda install openssl -c conda-forge``
package:
name: {{ name|lower }}
@@ -16,7 +13,10 @@ source:
sha256: {{ sha256 }}
build:
- number: 0
+ number: {{ build }}
+ entry_points:
+ - coconut = coconut.main:main
+ - coconut-run = coconut.main:main_run
script: python setup.py install --single-version-externally-managed --record record.txt
requirements:
@@ -34,6 +34,11 @@ requirements:
test:
imports:
- coconut
+ - coconut.command
+ - coconut.compiler
+ commands:
+ - coconut --help
+ - coconut-run --help
about:
home: http://coconut-lang.org/
